Python
Java
PHP
IOS
Android
Nodejs
JavaScript
Html5
Windows
Ubuntu
Linux
nn.ModuleList和nn.Sequential的理解
nn ModuleList和nn Sequential的出现是为了使代码简洁 nn ModuleList使对于加入其中的子模块 xff0c 不必在forward中依次调用 nn Sequentialt使对于加入其中的子模块在forward中
ModuleList
Sequential