docstr: ivy.Container static method variant of ivy.asarray. This method
  simply wraps the function, and so the docstring for ivy.asarray also
  applies to this method with minimal changes.
  
  Parameters
  ----------
  self
      input data, in any form that can be converted to an array. This includes
      lists, lists of tuples, tuples, tuples of tuples, tuples of lists and
      ndarrays.
  copy
      boolean indicating whether or not to copy the input array.
      If True, the function must always copy.
      If False, the function must never copy and must
      raise a ValueError in case a copy would be necessary.
      If None, the function must reuse existing memory buffer if possible
      and copy otherwise. Default: ``None``.
  dtype
      datatype, optional. Datatype is inferred from the input data.
  device
      device on which to place the created array. Default: ``None``.
  out
      optional output array, for writing the result to. It must have a shape that
      the inputs broadcast to.
  
  Returns
  -------
  ret
      An array interpretation of ``self``.
  
  Examples
  --------
  With :class:`ivy.Container` as input:
  >>> x = ivy.Container(a = [(1,2),(3,4),(5,6)], b = ((1,2,3),(4,5,6)))
  >>> ivy.asarray(x)
  {
      a: ivy.array([[1, 2],
                    [3, 4],
                    [5, 6]]),
      b: ivy.array([[1, 2, 3],
                    [4, 5, 6]])
  }
docstr_tok: ["ivy.Container","static","method","variant","of","ivy.asarray",".","This","method","simply","wraps","the","function",",","and","so","the","docstring","for","ivy.asarray","also","applies","to","this","method","with","minimal","changes",".","Parameters","--","--","--","--","--","self","input","data",",","in","any","form","that","can","be","converted","to","an","array",".","This","includes","lists",",","lists","of","tuples",",","tuples",",","tuples","of","tuples",",","tuples","of","lists","and","ndarrays",".","copy","boolean","indicating","whether","or","not","to","copy","the","input","array",".","If","True",",","the","function","must","always","copy",".","If","False",",","the","function","must","never","copy","and","must","raise","a","ValueError","in","case","a","copy","would","be","necessary",".","If","None",",","the","function","must","reuse","existing","memory","buffer","if","possible","and","copy","otherwise",".","Default",":","``","None","``",".","dtype","datatype",",","optional",".","Datatype","is","inferred","from","the","input","data",".","device","device","on","which","to","place","the","created","array",".","Default",":","``","None","``",".","out","optional","output","array",",","for","writing","the","result","to",".","It","must","have","a","shape","that","the","inputs","broadcast","to",".","Returns","--","--","--","-","ret","An","array","interpretation","of","``","self","``",".","Examples","--","--","--","--","With",":","class",":","`","ivy.Container","`","as","input",":",">",">",">","x","=","ivy.Container","(","a","=","[","(","1,2",")",",","(","3,4",")",",","(","5,6",")","]",",","b","=","(","(","1,2,3",")",",","(","4,5,6",")",")",")",">",">",">","ivy.asarray","(","x",")","{","a",":","ivy.array","(","[","[","1",",","2","]",",","[","3",",","4","]",",","[","5",",","6","]","]",")",",","b",":","ivy.array","(","[","[","1",",","2",",","3","]",",","[","4",",","5",",","6","]","]",")","}"]
code: def _static_asarray(
      x: Union[
          ivy.Array,
          ivy.NativeArray,
          List[Number],
          Tuple[Number],
          np.ndarray,
          ivy.Container,
      ],
      /,
      copy: Optional[Union[bool, 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,
      *,
      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.asarray. This method
      simply wraps the function, and so the docstring for ivy.asarray also
      applies to this method with minimal changes.
  
      Parameters
      ----------
      self
          input data, in any form that can be converted to an array. This includes
          lists, lists of tuples, tuples, tuples of tuples, tuples of lists and
          ndarrays.
      copy
          boolean indicating whether or not to copy the input array.
          If True, the function must always copy.
          If False, the function must never copy and must
          raise a ValueError in case a copy would be necessary.
          If None, the function must reuse existing memory buffer if possible
          and copy otherwise. Default: ``None``.
      dtype
          datatype, optional. Datatype is inferred from the input data.
      device
          device on which to place the created array. Default: ``None``.
      out
          optional output array, for writing the result to. It must have a shape that
          the inputs broadcast to.
  
      Returns
      -------
      ret
          An array interpretation of ``self``.
  
      Examples
      --------
      With :class:`ivy.Container` as input:
      >>> x = ivy.Container(a = [(1,2),(3,4),(5,6)], b = ((1,2,3),(4,5,6)))
      >>> ivy.asarray(x)
      {
          a: ivy.array([[1, 2],
                        [3, 4],
                        [5, 6]]),
          b: ivy.array([[1, 2, 3],
                        [4, 5, 6]])
      }
      """
      return ContainerBase.cont_multi_map_in_function(
          "asarray",
          x,
          key_chains=key_chains,
          to_apply=to_apply,
          prune_unapplied=prune_unapplied,
          map_sequences=map_sequences,
          copy=copy,
          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 2 for calling the _ContainerWithCreation obj's underlying member method code with example usage: obj._static_asarray(copy, key_chains, to_apply, prune_unapplied, map_sequences) and returns: ContainerBase