public static enum TensorFlowTrainer.TFModelFormat extends Enum<TensorFlowTrainer.TFModelFormat>
Enum Constant and Description |
---|
CHECKPOINT
Saves the model state inside a TensorFlow checkpoint, emits a
TensorFlowCheckpointModel . |
TRIBUO_NATIVE
Saves the model inside the Tribuo object, emits a
TensorFlowNativeModel . |
Modifier and Type | Method and Description |
---|---|
static TensorFlowTrainer.TFModelFormat |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TensorFlowTrainer.TFModelFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TensorFlowTrainer.TFModelFormat TRIBUO_NATIVE
TensorFlowNativeModel
.public static final TensorFlowTrainer.TFModelFormat CHECKPOINT
TensorFlowCheckpointModel
.public static TensorFlowTrainer.TFModelFormat[] values()
for (TensorFlowTrainer.TFModelFormat c : TensorFlowTrainer.TFModelFormat.values()) System.out.println(c);
public static TensorFlowTrainer.TFModelFormat 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 nullCopyright © 2015–2021 Oracle and/or its affiliates. All rights reserved.