API 相关说明
Returns an iterable for key buffer pairs of the module, where key is the dotted path from this module to the buffer.
key
Buffer is defined to be Tensor excluding Parameter.
Tensor
Parameter
prefix (Optional[str]) – prefix prepended to the keys.
Optional
str
recursive (bool) – if True, returns all buffers within this module, else only returns buffers that are direct attributes of this module.
bool
True
prefix – Optional[str]:
Iterable[Tuple[str, Tensor]]
Iterable
Tuple
上一页
megengine.module.Pad.modules
下一页
megengine.module.Pad.named_children