public enum TrainedModels extends Enum<TrainedModels>
| Enum Constant and Description |
|---|
VGG16
Deprecated.
|
VGG16NOTOP
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
String |
decodePredictions(org.nd4j.linalg.api.ndarray.INDArray predictions)
Deprecated.
|
protected String |
getH5FileName()
Deprecated.
|
protected String |
getH5URL()
Deprecated.
|
int[] |
getInputShape()
Deprecated.
Shape of the input to the net, for a minibatch size of 1
|
protected String |
getJSONFileName()
Deprecated.
|
protected String |
getJSONURL()
Deprecated.
|
protected String |
getModelDir()
Deprecated.
Name of the sub dir in the local cache associated with the model.
|
int[] |
getOuputShape()
Deprecated.
Shape of the output NDArray from the net, for a minibatch size of 1
|
org.nd4j.linalg.dataset.api.DataSetPreProcessor |
getPreProcessor()
Deprecated.
|
static TrainedModels |
valueOf(String name)
Deprecated.
Returns the enum constant of this type with the specified name.
|
static TrainedModels[] |
values()
Deprecated.
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(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullprotected String getModelDir()
protected String getJSONURL()
protected String getH5URL()
protected String getH5FileName()
protected String getJSONFileName()
public org.nd4j.linalg.dataset.api.DataSetPreProcessor getPreProcessor()
public int[] getInputShape()
public int[] getOuputShape()
public String decodePredictions(org.nd4j.linalg.api.ndarray.INDArray predictions)
Copyright © 2017. All rights reserved.