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