Is it possible to create an array of neural network objects? I’m sorry if this has been posted somewhere, but I can’t seem to find it.
Here’s how I define my nn.Module:

Screen Shot 2021-06-08 at 11.15.28 AM856×566 35.9 KB

If I want to now define multiple instances of this network, e.g.
net[0]=Net1[10]
net[1]=Net1[10]
I get the error, ’ ‘Net’ object does not support item assignment’