docstr: ivy.Container instance method variant of ivy.inplace_update. This
  method simply wraps the function, and so the docstring for
  ivy.inplace_update also applies to this method with minimal changes.
  
  Parameters
  ----------
  self
      input container to be updated inplace
  val
      value to update the input container with
  ensure_in_backend
      Whether to ensure that the `ivy.NativeArray` is also inplace updated.
      In cases where it should be, backends which do not natively support inplace
      updates will raise an exception.
  keep_input_dtype
      Whether or not to preserve `x` data type after the update, otherwise `val`
      data type will be applied. Defaults to False.
  key_chains
      The key-chains to apply or not apply the method to. Default is ``None``.
  to_apply
      If True, the method will be applied to key_chains, otherwise key_chains
      will be skipped. Default is ``True``.
  prune_unapplied
      Whether to prune key_chains for which the function was not applied.
      Default is ``False``.
  map_sequences
      Whether to also map method to sequences (lists, tuples).
      Default is ``False``.
  out
      optional output array, for writing the result to. It must
      have a shape that the inputs broadcast to.
  
  Returns
  -------
  ret
      An array with the vector norm downscaled to the max norm if needed.
  
  Examples
  --------
  With :class:`ivy.Container` input and default backend set as `numpy`:
  
  >>> x = ivy.Container(a=ivy.array([5, 6]), b=ivy.array([7, 8]))
  >>> y = ivy.Container(a=ivy.array([1]), b=ivy.array([2]))
  >>> x.inplace_update(y)
  >>> print(x)
  {
      a: ivy.array([1]),
      b: ivy.array([2])
  }
docstr_tok: ["ivy.Container","instance","method","variant","of","ivy.inplace_update",".","This","method","simply","wraps","the","function",",","and","so","the","docstring","for","ivy.inplace_update","also","applies","to","this","method","with","minimal","changes",".","Parameters","--","--","--","--","--","self","input","container","to","be","updated","inplace","val","value","to","update","the","input","container","with","ensure_in_backend","Whether","to","ensure","that","the","`","ivy.NativeArray","`","is","also","inplace","updated",".","In","cases","where","it","should","be",",","backends","which","do","not","natively","support","inplace","updates","will","raise","an","exception",".","keep_input_dtype","Whether","or","not","to","preserve","`","x","`","data","type","after","the","update",",","otherwise","`","val","`","data","type","will","be","applied",".","Defaults","to","False",".","key_chains","The","key-chains","to","apply","or","not","apply","the","method","to",".","Default","is","``","None","``",".","to_apply","If","True",",","the","method","will","be","applied","to","key_chains",",","otherwise","key_chains","will","be","skipped",".","Default","is","``","True","``",".","prune_unapplied","Whether","to","prune","key_chains","for","which","the","function","was","not","applied",".","Default","is","``","False","``",".","map_sequences","Whether","to","also","map","method","to","sequences","(","lists",",","tuples",")",".","Default","is","``","False","``",".","out","optional","output","array",",","for","writing","the","result","to",".","It","must","have","a","shape","that","the","inputs","broadcast","to",".","Returns","--","--","--","-","ret","An","array","with","the","vector","norm","downscaled","to","the","max","norm","if","needed",".","Examples","--","--","--","--","With",":","class",":","`","ivy.Container","`","input","and","default","backend","set","as","`","numpy","`",":",">",">",">","x","=","ivy.Container","(","a=ivy.array","(","[","5",",","6","]",")",",","b=ivy.array","(","[","7",",","8","]",")",")",">",">",">","y","=","ivy.Container","(","a=ivy.array","(","[","1","]",")",",","b=ivy.array","(","[","2","]",")",")",">",">",">","x.inplace_update","(","y",")",">",">",">","print","(","x",")","{","a",":","ivy.array","(","[","1","]",")",",","b",":","ivy.array","(","[","2","]",")","}"]
code: def inplace_update(
      self: ivy.Container,
      val: Union[ivy.Container, ivy.Array, ivy.NativeArray],
      /,
      *,
      ensure_in_backend: Union[bool, ivy.Container] = False,
      keep_input_dtype: Union[bool, ivy.Container] = False,
      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.inplace_update. This
      method simply wraps the function, and so the docstring for
      ivy.inplace_update also applies to this method with minimal changes.
  
      Parameters
      ----------
      self
          input container to be updated inplace
      val
          value to update the input container with
      ensure_in_backend
          Whether to ensure that the `ivy.NativeArray` is also inplace updated.
          In cases where it should be, backends which do not natively support inplace
          updates will raise an exception.
      keep_input_dtype
          Whether or not to preserve `x` data type after the update, otherwise `val`
          data type will be applied. Defaults to False.
      key_chains
          The key-chains to apply or not apply the method to. Default is ``None``.
      to_apply
          If True, the method will be applied to key_chains, otherwise key_chains
          will be skipped. Default is ``True``.
      prune_unapplied
          Whether to prune key_chains for which the function was not applied.
          Default is ``False``.
      map_sequences
          Whether to also map method to sequences (lists, tuples).
          Default is ``False``.
      out
          optional output array, for writing the result to. It must
          have a shape that the inputs broadcast to.
  
      Returns
      -------
      ret
          An array with the vector norm downscaled to the max norm if needed.
  
      Examples
      --------
      With :class:`ivy.Container` input and default backend set as `numpy`:
  
      >>> x = ivy.Container(a=ivy.array([5, 6]), b=ivy.array([7, 8]))
      >>> y = ivy.Container(a=ivy.array([1]), b=ivy.array([2]))
      >>> x.inplace_update(y)
      >>> print(x)
      {
          a: ivy.array([1]),
          b: ivy.array([2])
      }
      """
      return self._static_inplace_update(
          self,
          val,
          ensure_in_backend=ensure_in_backend,
          keep_input_dtype=keep_input_dtype,
          key_chains=key_chains,
          to_apply=to_apply,
          prune_unapplied=prune_unapplied,
          map_sequences=map_sequences,
          out=out,
      )
  
imports: from numbers import Number
  from typing import Any, Union, List, Dict, Iterable, Optional, Callable
  from ivy.data_classes.container.base import ContainerBase
  import ivy
label_desc: Use image node_id 10 for calling the _ContainerWithGeneral obj's underlying member method code with example usage: obj.inplace_update() and returns: self