load

load(file)

Loads an array from file.

See more details in save.

Parameters:
file : str

The filename.

Returns:
result : list of ndarrays or dict of str -> ndarray

Data stored in the file.

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.