ott.neural.networks.velocity_field.mlp.MLP.iter_children

ott.neural.networks.velocity_field.mlp.MLP.iter_children#

MLP.iter_children()#

Warning: this method is method is deprecated; use iter_children() instead.

Iterates over all children Module’s of the current Module. This method is similar to iter_modules(), except it only iterates over the immediate children, and does not recurse further down. Alias of iter_children().

Return type:

Iterator[tuple[Key, Module]]