Home > other >  The great god, please help, pytorch module function, the return value is what?
The great god, please help, pytorch module function, the return value is what?

Time:09-18

Watching densenet source code, there is a place that is block [0], the block should be dense block, don't know this block [0], the return value is what?
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
  • Related