Also please ask pytorch module, the return value seems to be three dimensional, the inside of the 3 d are respectively?
Already a long time, consult the pytorch document, baidu, there is no answer, please the great god guidance! Thank you very much!
Source: https://github.com/dengshanseation/pytorch-cifar/blob/master/models/densenet.py
45, bother with the click of a mouse see great god, thank you!
CodePudding user response:
Pytorch learning notes (12) : explanation Module class
CodePudding user response:
Pytorch Module Module classes have a lot of methods, the article has introduced the four common methods, the four methods can be used to access modules are defined in the object (that is, each layer) they are the children (), named_children (), modules (), named_modules () method