dpnp.fromfile

dpnp.fromfile(file, **kwargs)[source]

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

A highly efficient way of reading binary data with a known data-type, as well as parsing simply formatted text files. Data written using the tofile method can be read using this function.

For full documentation refer to numpy.fromfile.

Limitations

Only float64, float32, int64, int32 types are supported.