(m: nn.Module)
return len(children(m))
Get number of children modules in `m`.
Get number of children modules in `m`.
Get number of children modules in m .
def num_children(m: nn.Module) -> int:
    "Get number of children modules in `m`."
    return len(children(m))
def num_children ( m : nn . Module ) -> int : return len ( children ( m ) )