megengine.quantization.LSQ.named_children

LSQ.named_children(**kwargs)

Returns an iterable of key-submodule pairs for all the submodules that are direct attributes of this module, where ‘key’ is the attribute name of submodules.

返回类型

Iterable[Tuple[str, Module]]