docstr: ivy.Container instance method variant of ivy.sparsify_tensor.
  
  This method simply wraps the function, and so the docstring for
  ivy.sparsify_tensor also applies to this method with minimal
  changes.
code: def sparsify_tensor(
      self: Union[ivy.Container, ivy.Array, ivy.NativeArray],
      card: Union[int, ivy.Container],
      /,
      *,
      key_chains: Optional[Union[List[str], Dict[str, str]]] = 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.sparsify_tensor.
  
      This method simply wraps the function, and so the docstring for
      ivy.sparsify_tensor also applies to this method with minimal
      changes.
      """
      return self.static_sparsify_tensor(
          self,
          card,
          key_chains=key_chains,
          to_apply=to_apply,
          prune_unapplied=prune_unapplied,
          map_sequences=map_sequences,
          out=out,
      )
  
imports: from typing import Optional, Union, List, Dict, Tuple, Sequence
  from numbers import Number
  import ivy
  from ivy.data_classes.container.base import ContainerBase
label_desc: Use image node_id 54 for calling the _ContainerWithElementWiseExperimental obj's underlying member method code with example usage: obj.sparsify_tensor() and returns: self