code: def fromstring(string, dtype=float, count=-1, sep="", device=None):
      """Constructs a new 1-D array initialized from text data in a string.
  
      This is currently equivalent to :func:`numpy.fromstring`
      wrapped by :func:`chainerx.array`, given the device argument.
  
      .. seealso:: :func:`numpy.fromstring`
  
      """
      # sep should always be specified in numpy.fromstring since its default
      # argument has been deprecated since 1.14.
      # https://docs.scipy.org/doc/numpy-1.14.0/reference/generated/numpy.fromstring.html
      return chainerx.array(
          numpy.fromstring(string, dtype=dtype, count=count, sep=sep),
          device=device,
      )
  
file_path: chainer/chainerx/creation/from_data.py
imports: import numpy
  import chainerx
label_desc: Use image node_id 5 for calling a global function with example usage: fromstring(string, dtype, count, sep, device) and returns: chainerx