NodeList#
- class brainpy.math.NodeList(seq=())[source]#
A sequence of
BrainPyObject, which is compatible withvars()andnodes()operations in aBrainPyObject.That is to say, any nodes that are wrapped into
NodeListwill be automatically retieved when usingnodes()function.>>> import brainpy as bp >>> l = bm.node_list([bp.dnn.Dense(1, 2), >>> bp.dnn.LSTMCell(2, 3)])