code: def loadtxt(
      fname,
      dtype=float,
      comments="#",
      delimiter=None,
      converters=None,
      skiprows=0,
      usecols=None,
      unpack=False,
      ndmin=0,
      encoding="bytes",
      device=None,
  ):
      """Constructs an array by loading data from a text file.
  
      This is currently equivalent to :func:`numpy.loadtxt`
      wrapped by :func:`chainerx.array`, given the device argument.
  
      .. seealso:: :func:`numpy.loadtxt`
  
      """
      return chainerx.array(
          numpy.loadtxt(
              fname,
              dtype=dtype,
              comments=comments,
              delimiter=delimiter,
              converters=converters,
              skiprows=skiprows,
              usecols=usecols,
              unpack=unpack,
              ndmin=ndmin,
              encoding=encoding,
          ),
          device=device,
      )
  
file_path: chainer/chainerx/creation/from_data.py
imports: import numpy
  import chainerx
label_desc: Use image node_id 6 for calling a global function with example usage: loadtxt(fname, dtype, comments, delimiter, converters, skiprows, usecols, unpack, ndmin, encoding, device) and returns: chainerx