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 fromIOExceptionIComplexNDArray readComplex(InputStream is) throws IOException
is - the input stream to read in fromIOExceptionINDArray read(File file) throws IOException
file - the file to read in fromIOExceptionIComplexNDArray readComplex(File file) throws IOException
file - the ndarray to read fromIOExceptionvoid write(INDArray out, File to) throws IOException
out - the ndarray to writeto - the output stream to write toIOExceptionvoid writeComplex(IComplexNDArray out, File to) throws IOException
out - the ndarray to writeto - the output stream to write toIOExceptionvoid write(INDArray out, OutputStream to) throws IOException
out - the ndarray to writeto - the output stream to write toIOExceptionvoid writeComplex(IComplexNDArray out, OutputStream to) throws IOException
out - the ndarray to writeto - the output stream to write toIOExceptionCopyright © 2016. All Rights Reserved.