chainerx.fromstring

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

Constructs a new 1-D array initialized from text data in a string.

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