visible_module_list#
- class braincore.visible_module_list(seq=())#
A sequence of
Module, which is compatible withvars()andnodes()operations in aModule.That is to say, any nodes that are wrapped into
NodeListwill be automatically retieved when usingnodes()function.>>> import braincore as bc >>> l = bc.visible_module_list([bp.dnn.Dense(1, 2), >>> bp.dnn.LSTMCell(2, 3)])