public enum TrainedModels extends java.lang.Enum<TrainedModels>
Enum Constant and Description |
---|
VGG16 |
VGG16NOTOP |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
decodePredictions(org.nd4j.linalg.api.ndarray.INDArray predictions) |
protected java.lang.String |
getH5FileName() |
protected java.lang.String |
getH5URL() |
int[] |
getInputShape()
Shape of the input to the net, for a minibatch size of 1
|
protected java.lang.String |
getJSONFileName() |
protected java.lang.String |
getJSONURL() |
protected java.lang.String |
getModelDir()
Name of the sub dir in the local cache associated with the model.
|
int[] |
getOuputShape()
Shape of the output NDArray from the net, for a minibatch size of 1
|
org.nd4j.linalg.dataset.api.DataSetPreProcessor |
getPreProcessor() |
static TrainedModels |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TrainedModels[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TrainedModels VGG16
public static final TrainedModels VGG16NOTOP
public static TrainedModels[] values()
for (TrainedModels c : TrainedModels.values()) System.out.println(c);
public static TrainedModels valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullprotected java.lang.String getModelDir()
protected java.lang.String getJSONURL()
protected java.lang.String getH5URL()
protected java.lang.String getH5FileName()
protected java.lang.String getJSONFileName()
public org.nd4j.linalg.dataset.api.DataSetPreProcessor getPreProcessor()
public int[] getInputShape()
public int[] getOuputShape()
public java.lang.String decodePredictions(org.nd4j.linalg.api.ndarray.INDArray predictions)