docstr: ivy.Container instance method variant of ivy.general_inner_product.
  
  This method simply wraps the function, and so the docstring for
  ivy.general_inner_product also applies to this method with
  minimal changes.
code: def general_inner_product(
      self: Union[ivy.Container, ivy.Array, ivy.NativeArray],
      x2: Union[ivy.Container, ivy.Array, ivy.NativeArray],
      n_modes: Optional[Union[int, ivy.Container]] = None,
      /,
      *,
      key_chains: Optional[
          Union[List[str], Dict[str, str], ivy.Container]
      ] = None,
      to_apply: Union[bool, ivy.Container] = True,
      prune_unapplied: Union[bool, ivy.Container] = False,
      map_sequences: Union[bool, ivy.Container] = False,
      out: Optional[ivy.Container] = None,
  ) -> ivy.Container:
      """ivy.Container instance method variant of ivy.general_inner_product.
  
      This method simply wraps the function, and so the docstring for
      ivy.general_inner_product also applies to this method with
      minimal changes.
      """
      return self.static_general_inner_product(
          self,
          x2,
          n_modes,
          key_chains=key_chains,
          to_apply=to_apply,
          prune_unapplied=prune_unapplied,
          map_sequences=map_sequences,
          out=out,
      )
  
imports: from typing import Union, Optional, Tuple, Literal, List, Dict, Sequence
  from ivy.data_classes.container.base import ContainerBase
  import ivy
label_desc: Use image node_id 58 for calling the _ContainerWithLinearAlgebra obj's underlying member method code with example usage: obj.general_inner_product() and returns: self