public class Nd4jBase64 extends Object
Modifier and Type | Method and Description |
---|---|
static String |
base64String(INDArray arr)
Returns an ndarray
as base 64
|
static INDArray |
fromBase64(String base64)
Create an ndarray from a base 64
representation
|
public static String base64String(INDArray arr) throws IOException
arr
- the array to writeIOException
Copyright © 2020. All rights reserved.