public class Nd4jBase64
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static INDArray[] |
arraysFromBase64(java.lang.String base64)
Returns a set of arrays
from base 64 that is tab delimited.
|
static java.lang.String |
arraysToBase64(INDArray[] arrays)
Returns a tab delimited base 64
representation of the given arrays
|
static java.lang.String |
base64String(INDArray arr)
Returns an ndarray
as base 64
|
static INDArray |
fromBase64(java.lang.String base64)
Create an ndarray from a base 64
representation
|
static boolean |
isMultiple(java.lang.String base64)
Returns true if the base64
contains multiple arrays
This is delimited by tab
|
public static boolean isMultiple(java.lang.String base64)
base64 - the base 64 to testpublic static INDArray[] arraysFromBase64(java.lang.String base64) throws java.io.IOException
base64 - the base 64 that's tab delimitedjava.io.IOExceptionpublic static java.lang.String arraysToBase64(INDArray[] arrays) throws java.io.IOException
arrays - the arraysjava.io.IOExceptionpublic static java.lang.String base64String(INDArray arr) throws java.io.IOException
arr - the array to writejava.io.IOExceptionpublic static INDArray fromBase64(java.lang.String base64) throws java.io.IOException
base64 - the base 64 to convertjava.io.IOExceptionCopyright © 2018. All rights reserved.