docstr: ivy.Container instance method variant of ivy.truncated_svd. This
  method simply wraps the function, and so the docstring for
  ivy.truncated_svd also applies to this method with minimal changes.
  
  Parameters
  ----------
  x
      Container of 2D-arrays
  compute_uv
      If ``True`` then left and right singular vectors
      will be computed and returned in ``U`` and ``Vh``
      respectively. Otherwise, only the singular values will
      be computed, which can be significantly faster.
  n_eigenvecs
      if specified, number of eigen[vectors-values] to return
      else full matrices will be returned
  
  Returns
  -------
  ret
      a namedtuple ``(U, S, Vh)``
      Each returned container must have the
      same floating-point data type as ``x``.
docstr_tok: ["ivy.Container","instance","method","variant","of","ivy.truncated_svd",".","This","method","simply","wraps","the","function",",","and","so","the","docstring","for","ivy.truncated_svd","also","applies","to","this","method","with","minimal","changes",".","Parameters","--","--","--","--","--","x","Container","of","2D-arrays","compute_uv","If","``","True","``","then","left","and","right","singular","vectors","will","be","computed","and","returned","in","``","U","``","and","``","Vh","``","respectively",".","Otherwise",",","only","the","singular","values","will","be","computed",",","which","can","be","significantly","faster",".","n_eigenvecs","if","specified",",","number","of","eigen","[","vectors-values","]","to","return","else","full","matrices","will","be","returned","Returns","--","--","--","-","ret","a","namedtuple","``","(","U",",","S",",","Vh",")","``","Each","returned","container","must","have","the","same","floating-point","data","type","as","``","x","``","."]
code: def truncated_svd(
      self: Union[ivy.Array, ivy.NativeArray, ivy.Container],
      /,
      compute_uv: Union[bool, ivy.Container] = True,
      n_eigenvecs: 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,
  ) -> Union[
      ivy.Container, Tuple[ivy.Container, ivy.Container, ivy.Container]
  ]:
      """ivy.Container instance method variant of ivy.truncated_svd. This
      method simply wraps the function, and so the docstring for
      ivy.truncated_svd also applies to this method with minimal changes.
  
      Parameters
      ----------
      x
          Container of 2D-arrays
      compute_uv
          If ``True`` then left and right singular vectors
          will be computed and returned in ``U`` and ``Vh``
          respectively. Otherwise, only the singular values will
          be computed, which can be significantly faster.
      n_eigenvecs
          if specified, number of eigen[vectors-values] to return
          else full matrices will be returned
  
      Returns
      -------
      ret
          a namedtuple ``(U, S, Vh)``
          Each returned container must have the
          same floating-point data type as ``x``.
      """
      return self.static_truncated_svd(
          self,
          compute_uv,
          n_eigenvecs,
          key_chains=key_chains,
          to_apply=to_apply,
          prune_unapplied=prune_unapplied,
          map_sequences=map_sequences,
      )
  
imports: from typing import Union, Optional, List, Dict, Tuple, Sequence, Literal
  from ivy.data_classes.container.base import ContainerBase
  import ivy
label_desc: Use image node_id 30 for calling the _ContainerWithLinearAlgebraExperimental obj's underlying member method code with example usage: obj.truncated_svd(compute_uv, n_eigenvecs) and returns: self