code: def __iter__(self):
      return iter(self._submodules)
  
file_path: ivy/ivy/stateful/sequential.py
imports: from typing import Union, Optional
  import ivy
  from ivy.stateful.module import Module
label_desc: Use image node_id 2 for calling the Sequential obj's underlying member method code with example usage: obj.__iter__() and returns: iter