I’m new to Nengo, and I’ve just read the below example code:
network = nengo.Network() with network: with nengo.Network(label="Vision"): v1 = nengo.Ensemble(n_neurons=100, dimensions=2) with nengo.Network(label="Motor"): sma = nengo.Ensemble(n_neurons=100, dimensions=2) nengo.Connection(v1, sma)
But I don’t understand how does the network collects the Ensemble objects created in the “with” block.
I can’t find the specific function do this work. Can anyone tell me how does these ensembles been added to the networks?