chainerx.fromfile

chainerx.fromfile(file, dtype=<class 'float'>, count=-1, sep='', device=None)

Constructs an array from data in a text or binary file.

This is currently equivalent to numpy.fromfile() wrapped by chainerx.array(), given the device argument.

See also

numpy.fromfile()