[Rules] Dont post large blobs of text / code. Dont post install issues, use our google groups for them. Questions of the format: "I ran this code", "I got this error" are better off posted to google groups or github issues as they will be indexed by google search for the future.
:add(nn.ReLU)
your main module assigns an index for each nn.ReLU
you add sequentially so that your main module is a table {[1]=nn.ReLU, [2]=nn.ReLU, [3]=nn.ReLU}
. If you want to access your inner modules do use findModules(type)
on your main module, e.g. findModules(ReLU)
. You can find more on Module
class in officials docs.