chainerx.loadtxt

chainerx.loadtxt(fname, dtype=<class '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 numpy.loadtxt() wrapped by chainerx.array(), given the device argument.

See also

numpy.loadtxt()