public class KerasModelEndToEndTest
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static double |
EPS |
static java.lang.String |
GROUP_ACTIVATIONS |
static java.lang.String |
GROUP_ATTR_INPUTS |
static java.lang.String |
GROUP_ATTR_OUTPUTS |
static java.lang.String |
GROUP_PREDICTIONS |
static java.lang.String |
H5_EXTENSION |
static java.lang.String |
TEMP_MODEL_FILENAME |
static java.lang.String |
TEMP_OUTPUTS_FILENAME |
Constructor and Description |
---|
KerasModelEndToEndTest() |
Modifier and Type | Method and Description |
---|---|
static void |
compareINDArrays(java.lang.String label,
org.nd4j.linalg.api.ndarray.INDArray a,
org.nd4j.linalg.api.ndarray.INDArray b,
double eps) |
static void |
compareMulticlassAUC(java.lang.String label,
org.nd4j.linalg.api.ndarray.INDArray target,
org.nd4j.linalg.api.ndarray.INDArray a,
org.nd4j.linalg.api.ndarray.INDArray b,
int nbClasses,
double eps) |
static java.util.Map<java.lang.String,org.nd4j.linalg.api.ndarray.INDArray> |
getActivations(Hdf5Archive archive,
boolean tensorFlowImageDimOrdering) |
static org.nd4j.linalg.api.ndarray.INDArray[] |
getInputs(Hdf5Archive archive,
boolean tensorFlowImageDimOrdering) |
static org.nd4j.linalg.api.ndarray.INDArray[] |
getOutputs(Hdf5Archive archive,
boolean tensorFlowImageDimOrdering) |
static org.nd4j.linalg.api.ndarray.INDArray[] |
getPredictions(Hdf5Archive archive,
boolean tensorFlowImageDimOrdering) |
void |
importMnistMlpTensorFlowEndToEndModelTest() |
public static final java.lang.String GROUP_ATTR_INPUTS
public static final java.lang.String GROUP_ATTR_OUTPUTS
public static final java.lang.String GROUP_PREDICTIONS
public static final java.lang.String GROUP_ACTIVATIONS
public static final java.lang.String TEMP_OUTPUTS_FILENAME
public static final java.lang.String TEMP_MODEL_FILENAME
public static final java.lang.String H5_EXTENSION
public static final double EPS
public void importMnistMlpTensorFlowEndToEndModelTest() throws java.lang.Exception
java.lang.Exception
public static org.nd4j.linalg.api.ndarray.INDArray[] getInputs(Hdf5Archive archive, boolean tensorFlowImageDimOrdering) throws java.lang.Exception
java.lang.Exception
public static java.util.Map<java.lang.String,org.nd4j.linalg.api.ndarray.INDArray> getActivations(Hdf5Archive archive, boolean tensorFlowImageDimOrdering) throws java.lang.Exception
java.lang.Exception
public static org.nd4j.linalg.api.ndarray.INDArray[] getOutputs(Hdf5Archive archive, boolean tensorFlowImageDimOrdering) throws java.lang.Exception
java.lang.Exception
public static org.nd4j.linalg.api.ndarray.INDArray[] getPredictions(Hdf5Archive archive, boolean tensorFlowImageDimOrdering) throws java.lang.Exception
java.lang.Exception
public static void compareINDArrays(java.lang.String label, org.nd4j.linalg.api.ndarray.INDArray a, org.nd4j.linalg.api.ndarray.INDArray b, double eps)
public static void compareMulticlassAUC(java.lang.String label, org.nd4j.linalg.api.ndarray.INDArray target, org.nd4j.linalg.api.ndarray.INDArray a, org.nd4j.linalg.api.ndarray.INDArray b, int nbClasses, double eps)