org.nd4j.linalg.jblas.io
Class JblasNDArrayIO
- java.lang.Object
-
- org.nd4j.linalg.api.io.BaseNDArrayIO
-
- org.nd4j.linalg.jblas.io.JblasNDArrayIO
-
- All Implemented Interfaces:
- NDArrayIO
public class JblasNDArrayIO extends BaseNDArrayIO
Jblas NDArray IO
-
-
Constructor Summary
Constructors Constructor and Description JblasNDArrayIO()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description INDArrayread(java.io.InputStream is)Read in an ndrray from an input streamIComplexNDArrayreadComplex(java.io.InputStream is)Read in a complex ndarrayvoidwrite(INDArray out, java.io.OutputStream to)Write an ndarray to the output streamvoidwriteComplex(IComplexNDArray out, java.io.OutputStream to)Write a complex ndarray to an output stream-
Methods inherited from class org.nd4j.linalg.api.io.BaseNDArrayIO
read, readComplex, write, writeComplex
-
-
-
-
Method Detail
-
read
public INDArray read(java.io.InputStream is) throws java.io.IOException
Read in an ndrray from an input stream- Parameters:
is- the input stream to read in from- Returns:
- the ndarray read in
- Throws:
java.io.IOException
-
readComplex
public IComplexNDArray readComplex(java.io.InputStream is) throws java.io.IOException
Read in a complex ndarray- Parameters:
is- the input stream to read in from- Returns:
- the complex ndarray that was read in
- Throws:
java.io.IOException
-
write
public void write(INDArray out, java.io.OutputStream to) throws java.io.IOException
Write an ndarray to the output stream- Parameters:
out- the ndarray to writeto- the output stream to write to- Throws:
java.io.IOException
-
writeComplex
public void writeComplex(IComplexNDArray out, java.io.OutputStream to) throws java.io.IOException
Write a complex ndarray to an output stream- Parameters:
out- the ndarray to writeto- the output stream to write to- Throws:
java.io.IOException
-
-
DMelt 3.0 © DataMelt by jWork.ORG