@Generated(value="org.deeplearning4j.ui.stats.sbe.MemoryType") public enum MemoryType extends Enum<MemoryType>
| Enum Constant and Description |
|---|
DeviceCurrent |
DeviceMax |
JvmCurrent |
JvmMax |
NULL_VAL |
OffHeapCurrent |
OffHeapMax |
| Modifier and Type | Method and Description |
|---|---|
static MemoryType |
get(short value) |
short |
value() |
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 JvmCurrent
public static final MemoryType JvmMax
public static final MemoryType OffHeapCurrent
public static final MemoryType OffHeapMax
public static final MemoryType DeviceCurrent
public static final MemoryType DeviceMax
public static final MemoryType NULL_VAL
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 short value()
public static MemoryType get(short value)
Copyright © 2019. All rights reserved.