public static enum TrainingEvent.Type extends Enum<TrainingEvent.Type>
Enum Constant and Description |
---|
EPOCH_FINISHED
Specifies a training epoch finished event
|
EPOCH_STARTED
Specifies a training epoch started event
|
ITERATION_FINISHED
Specifies a training iteration for (single data item) finished event
|
MINI_BATCH
Specifies a mini batch (batch of items) finished event
|
STARTED
Specifies a training started event
|
STOPPED
Specifies a training stopped event
|
Modifier and Type | Method and Description |
---|---|
static TrainingEvent.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TrainingEvent.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TrainingEvent.Type STARTED
public static final TrainingEvent.Type STOPPED
public static final TrainingEvent.Type EPOCH_STARTED
public static final TrainingEvent.Type EPOCH_FINISHED
public static final TrainingEvent.Type MINI_BATCH
public static final TrainingEvent.Type ITERATION_FINISHED
public static TrainingEvent.Type[] values()
for (TrainingEvent.Type c : TrainingEvent.Type.values()) System.out.println(c);
public static TrainingEvent.Type 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 © 2022. All rights reserved.