Constructor and Description |
---|
BaseNDArrayIO() |
Modifier and Type | Method and Description |
---|---|
INDArray |
read(File file)
Read in an ndarray from a file
|
IComplexNDArray |
readComplex(File file)
Read in a complex ndarray from a file
|
void |
write(INDArray out,
File to)
Write an ndarray to the output stream
|
void |
writeComplex(IComplexNDArray out,
File to)
Write a complex ndarray to an output stream
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
read, readComplex, write, writeComplex
public void write(INDArray out, File to) throws IOException
write
in interface NDArrayIO
out
- the ndarray to writeto
- the output stream to write toIOException
public void writeComplex(IComplexNDArray out, File to) throws IOException
writeComplex
in interface NDArrayIO
out
- the ndarray to writeto
- the output stream to write toIOException
public INDArray read(File file) throws IOException
read
in interface NDArrayIO
file
- the file to read in fromIOException
public IComplexNDArray readComplex(File file) throws IOException
readComplex
in interface NDArrayIO
file
- the ndarray to read fromIOException
Copyright © 2015. All Rights Reserved.