public enum MemoryType extends Enum<MemoryType>
| Enum Constant and Description |
|---|
ACTIVATION_GRADIENTS |
ACTIVATIONS |
CACHED_MEMORY_FIXED |
CACHED_MEMORY_VARIABLE |
PARAMATER_GRADIENTS |
PARAMETERS |
UPDATER_STATE |
WORKING_MEMORY_FIXED |
WORKING_MEMORY_VARIABLE |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isInference() |
static MemoryType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MemoryType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MemoryType PARAMETERS
public static final MemoryType PARAMATER_GRADIENTS
public static final MemoryType ACTIVATIONS
public static final MemoryType ACTIVATION_GRADIENTS
public static final MemoryType UPDATER_STATE
public static final MemoryType WORKING_MEMORY_FIXED
public static final MemoryType WORKING_MEMORY_VARIABLE
public static final MemoryType CACHED_MEMORY_FIXED
public static final MemoryType CACHED_MEMORY_VARIABLE
public static MemoryType[] values()
for (MemoryType c : MemoryType.values()) System.out.println(c);
public static MemoryType 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 nullpublic boolean isInference()
Copyright © 2021. All rights reserved.