mxnet.npx.load

load(file)

Load arrays from .npy, .npz or legacy MXNet file format.

See more details in save.

Parameters

file (str) – The filename.

Returns

result – Data stored in the file.

Return type

list of ndarrays or dict of str -> ndarray

Notes

This function can only be called within numpy semantics, i.e., npx.is_np_shape() and npx.is_np_array() must both return true.