Package org.nd4j.serde.base64
Class Nd4jBase64
- java.lang.Object
-
- org.nd4j.serde.base64.Nd4jBase64
-
public class Nd4jBase64 extends Object
NDArray as base 64- Author:
- Adam Gibson
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Stringbase64String(INDArray arr)Returns an ndarray as base 64static INDArrayfromBase64(String base64)Create an ndarray from a base 64 representation
-
-
-
Method Detail
-
base64String
public static String base64String(INDArray arr) throws IOException
Returns an ndarray as base 64- Parameters:
arr- the array to write- Returns:
- the base 64 representation of the binary ndarray
- Throws:
IOException
-
-