Constructor and Description |
---|
BaseNDArrayIO() |
Modifier and Type | Method and Description |
---|---|
INDArray |
read(java.io.File file)
Read in an ndarray from a file
|
IComplexNDArray |
readComplex(java.io.File file)
Read in a complex ndarray from a file
|
void |
write(INDArray out,
java.io.File to)
Write an ndarray to the output stream
|
void |
writeComplex(IComplexNDArray out,
java.io.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, java.io.File to) throws java.io.IOException
public void writeComplex(IComplexNDArray out, java.io.File to) throws java.io.IOException
writeComplex
in interface NDArrayIO
out
- the ndarray to writeto
- the output stream to write tojava.io.IOException
public INDArray read(java.io.File file) throws java.io.IOException
public IComplexNDArray readComplex(java.io.File file) throws java.io.IOException
readComplex
in interface NDArrayIO
file
- the ndarray to read fromjava.io.IOException
Copyright © 2014. All Rights Reserved.