docstr: Perform forward pass of the Sequential container.
  
  Parameters
  ----------
  inputs
      Inputs to process.
  
  Returns
  -------
  ret
      The output after each of the layers in the Sequential has been applied.
docstr_tok: ["Perform","forward","pass","of","the","Sequential","container",".","Parameters","--","--","--","--","--","inputs","Inputs","to","process",".","Returns","--","--","--","-","ret","The","output","after","each","of","the","layers","in","the","Sequential","has","been","applied","."]
code: def _forward(self, inputs):
      """Perform forward pass of the Sequential container.
  
      Parameters
      ----------
      inputs
          Inputs to process.
  
      Returns
      -------
      ret
          The output after each of the layers in the Sequential has been applied.
      """
      x = inputs
      for i, submod in enumerate(self._submodules):
          try:
              x = submod(x, v=self.v.submodules[f"v{str(i)}"])
          except KeyError as e:
              if submod.v:
                  raise ivy.utils.exceptions.IvyException(
                      "variables v passed to Sequential class must have key chains "
                      "in the form of "
                      '"submodules/v{}", where {} is an idx'
                  ) from e
              x = submod(x)
      return x
  
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 3 for calling the Sequential obj's underlying member method code with example usage: obj._forward(inputs) and returns: x