public enum ArrayType extends Enum<ArrayType>
LayerWorkspaceMgrAdam,
Nesterovs etc.CacheMode is not set to NONE. Used
to increase performance at the expense of memory, by storing partial activations from forward
pass, so they don't need to be recalculated during backprop| Enum Constant and Description |
|---|
ACTIVATION_GRAD |
ACTIVATIONS |
BP_WORKING_MEM |
FF_CACHE |
FF_WORKING_MEM |
INPUT |
RNN_BP_LOOP_WORKING_MEM |
RNN_FF_LOOP_WORKING_MEM |
UPDATER_WORKING_MEM |
| Modifier and Type | Method and Description |
|---|---|
static ArrayType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ArrayType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ArrayType INPUT
public static final ArrayType ACTIVATIONS
public static final ArrayType ACTIVATION_GRAD
public static final ArrayType FF_WORKING_MEM
public static final ArrayType BP_WORKING_MEM
public static final ArrayType RNN_FF_LOOP_WORKING_MEM
public static final ArrayType RNN_BP_LOOP_WORKING_MEM
public static final ArrayType UPDATER_WORKING_MEM
public static final ArrayType FF_CACHE
public static ArrayType[] values()
for (ArrayType c : ArrayType.values()) System.out.println(c);
public static ArrayType 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 © 2018. All rights reserved.