mx.nd.save
¶
Description¶
Save an mx.nd.array object
Example:
mat = mx.nd.array(1:3)
mx.nd.save(mat, 'temp.mat')
mat2 = mx.nd.load('temp.mat')
as.array(mat)
as.array(mat2[[1]])
Usage¶
mx.nd.save(ndarray, filename)
Arguments¶
Argument |
Description |
---|---|
|
the |
|
the filename (including the path) |