public interface NDArrayIO
Modifier and Type | Method and Description |
---|---|
INDArray |
read(File file)
Read in an ndarray from a file
|
INDArray |
read(InputStream is)
Read in an ndrray from an input stream
|
IComplexNDArray |
readComplex(File file)
Read in a complex ndarray from a file
|
IComplexNDArray |
readComplex(InputStream is)
Read in a complex ndarray
|
void |
write(INDArray out,
File to)
Write an ndarray to the output stream
|
void |
write(INDArray out,
OutputStream to)
Write an ndarray to the output stream
|
void |
writeComplex(IComplexNDArray out,
File to)
Write a complex ndarray to an output stream
|
void |
writeComplex(IComplexNDArray out,
OutputStream to)
Write a complex ndarray to an output stream
|
INDArray read(InputStream is) throws IOException
is
- the input stream to read in fromIOException
IComplexNDArray readComplex(InputStream is) throws IOException
is
- the input stream to read in fromIOException
INDArray read(File file) throws IOException
file
- the file to read in fromIOException
IComplexNDArray readComplex(File file) throws IOException
file
- the ndarray to read fromIOException
void write(INDArray out, File to) throws IOException
out
- the ndarray to writeto
- the output stream to write toIOException
void writeComplex(IComplexNDArray out, File to) throws IOException
out
- the ndarray to writeto
- the output stream to write toIOException
void write(INDArray out, OutputStream to) throws IOException
out
- the ndarray to writeto
- the output stream to write toIOException
void writeComplex(IComplexNDArray out, OutputStream to) throws IOException
out
- the ndarray to writeto
- the output stream to write toIOException
Copyright © 2015. All Rights Reserved.