public class JblasNDArrayIO extends BaseNDArrayIO
| Constructor and Description |
|---|
JblasNDArrayIO() |
| Modifier and Type | Method and Description |
|---|---|
INDArray |
read(InputStream is)
Read in an ndrray from an input stream
|
IComplexNDArray |
readComplex(InputStream is)
Read in a complex ndarray
|
void |
write(INDArray out,
OutputStream to)
Write an ndarray to the output stream
|
void |
writeComplex(IComplexNDArray out,
OutputStream to)
Write a complex ndarray to an output stream
|
read, readComplex, write, writeComplexpublic INDArray read(InputStream is) throws IOException
is - the input stream to read in fromIOExceptionpublic IComplexNDArray readComplex(InputStream is) throws IOException
is - the input stream to read in fromIOExceptionpublic void write(INDArray out, OutputStream to) throws IOException
out - the ndarray to writeto - the output stream to write toIOExceptionpublic void writeComplex(IComplexNDArray out, OutputStream to) throws IOException
out - the ndarray to writeto - the output stream to write toIOExceptionCopyright © 2014. All Rights Reserved.