code: def modules(self) -> Iterator["Module"]:
      for _, module in self.named_modules():
          yield module
  
imports: import ivy
  from collections import OrderedDict
  from typing import Any, Dict, Iterator, List, Optional, Set, Tuple
  from ivy.functional.frontends.torch.nn.parameter import Parameter
  from ivy.functional.frontends.torch.tensor import Tensor
label_desc: Use image node_id 18 for calling the Module obj's underlying member method code with example usage: obj.modules() without return types