org.nd4j.linalg.jblas.util
Class JblasSerde
- java.lang.Object
-
- org.nd4j.linalg.jblas.util.JblasSerde
-
public class JblasSerde extends java.lang.ObjectHandles loading and saving of jblas matrices
-
-
Constructor Summary
Constructors Constructor and Description JblasSerde()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method and Description static INDArrayfromAscii(java.lang.String path)static INDArrayreadJblasBinary(java.io.DataInputStream dataInputStream)Read in the jblas binary format
-
-
-
Method Detail
-
fromAscii
public static INDArray fromAscii(java.lang.String path) throws java.io.IOException
- Throws:
java.io.IOException
-
readJblasBinary
public static INDArray readJblasBinary(java.io.DataInputStream dataInputStream) throws java.io.IOException
Read in the jblas binary format- Parameters:
dataInputStream- the data inputstream to use- Returns:
- an ndarray of the same shape
- Throws:
java.io.IOException
-
-
DMelt 3.0 © DataMelt by jWork.ORG