docstr: ivy.Container static method variant of ivy.ones_like. This method
  simply wraps the function, and so the docstring for ivy.ones_like also
  applies to this method with minimal changes.
  
  Parameters
  ----------
  x
      input array from which to derive the output array shape.
  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``.
  dtype
      output array data type. If ``dtype`` is ``None``, the output array data type
      must be inferred from ``self``. Default  ``None``.
  device
      device on which to place the created array. If device is ``None``, the
      output array device must be inferred from ``self``. Default: ``None``.
  out
      optional output array, for writing the result to. It must have a shape that
      the inputs broadcast to.
  
  Returns
  -------
  ret
      a container having the same shape as ``self`` and filled with ones.
docstr_tok: ["ivy.Container","static","method","variant","of","ivy.ones_like",".","This","method","simply","wraps","the","function",",","and","so","the","docstring","for","ivy.ones_like","also","applies","to","this","method","with","minimal","changes",".","Parameters","--","--","--","--","--","x","input","array","from","which","to","derive","the","output","array","shape",".","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","``",".","dtype","output","array","data","type",".","If","``","dtype","``","is","``","None","``",",","the","output","array","data","type","must","be","inferred","from","``","self","``",".","Default","``","None","``",".","device","device","on","which","to","place","the","created","array",".","If","device","is","``","None","``",",","the","output","array","device","must","be","inferred","from","``","self","``",".","Default",":","``","None","``",".","out","optional","output","array",",","for","writing","the","result","to",".","It","must","have","a","shape","that","the","inputs","broadcast","to",".","Returns","--","--","--","-","ret","a","container","having","the","same","shape","as","``","self","``","and","filled","with","ones","."]
code: def _static_ones_like(
      x: Union[ivy.Array, ivy.NativeArray, ivy.Container],
      /,
      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,
      *,
      dtype: Optional[
          Union[ivy.Dtype, ivy.NativeDtype, ivy.Container]
      ] = None,
      device: Optional[
          Union[ivy.Device, ivy.NativeDevice, ivy.Container]
      ] = None,
      out: Optional[ivy.Container] = None,
  ) -> ivy.Container:
      """ivy.Container static method variant of ivy.ones_like. This method
      simply wraps the function, and so the docstring for ivy.ones_like also
      applies to this method with minimal changes.
  
      Parameters
      ----------
      x
          input array from which to derive the output array shape.
      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``.
      dtype
          output array data type. If ``dtype`` is ``None``, the output array data type
          must be inferred from ``self``. Default  ``None``.
      device
          device on which to place the created array. If device is ``None``, the
          output array device must be inferred from ``self``. Default: ``None``.
      out
          optional output array, for writing the result to. It must have a shape that
          the inputs broadcast to.
  
      Returns
      -------
      ret
          a container having the same shape as ``self`` and filled with ones.
      """
      return ContainerBase.cont_multi_map_in_function(
          "ones_like",
          x,
          key_chains=key_chains,
          to_apply=to_apply,
          prune_unapplied=prune_unapplied,
          map_sequences=map_sequences,
          dtype=dtype,
          device=device,
          out=out,
      )
  
imports: from typing import Optional, Union, List, Tuple, Dict, Sequence
  from numbers import Number
  import numpy
  import ivy
  from ivy.data_classes.container.base import ContainerBase
label_desc: Use image node_id 10 for calling the _ContainerWithCreation obj's underlying member method code with example usage: obj._static_ones_like(key_chains, to_apply, prune_unapplied, map_sequences) and returns: ContainerBase