public static enum RunOptions.TraceLevel extends Enum<RunOptions.TraceLevel> implements org.nd4j.shade.protobuf.ProtocolMessageEnum
TODO(pbar) Turn this into a TraceOptions proto which allows tracing to be controlled in a more orthogonal manner?Protobuf enum
tensorflow.RunOptions.TraceLevel
Enum Constant and Description |
---|
FULL_TRACE
FULL_TRACE = 3; |
HARDWARE_TRACE
HARDWARE_TRACE = 2; |
NO_TRACE
NO_TRACE = 0; |
SOFTWARE_TRACE
SOFTWARE_TRACE = 1; |
UNRECOGNIZED |
Modifier and Type | Field and Description |
---|---|
static int |
FULL_TRACE_VALUE
FULL_TRACE = 3; |
static int |
HARDWARE_TRACE_VALUE
HARDWARE_TRACE = 2; |
static int |
NO_TRACE_VALUE
NO_TRACE = 0; |
static int |
SOFTWARE_TRACE_VALUE
SOFTWARE_TRACE = 1; |
Modifier and Type | Method and Description |
---|---|
static RunOptions.TraceLevel |
forNumber(int value) |
static org.nd4j.shade.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
org.nd4j.shade.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
org.nd4j.shade.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static org.nd4j.shade.protobuf.Internal.EnumLiteMap<RunOptions.TraceLevel> |
internalGetValueMap() |
static RunOptions.TraceLevel |
valueOf(org.nd4j.shade.protobuf.Descriptors.EnumValueDescriptor desc) |
static RunOptions.TraceLevel |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static RunOptions.TraceLevel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RunOptions.TraceLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RunOptions.TraceLevel NO_TRACE
NO_TRACE = 0;
public static final RunOptions.TraceLevel SOFTWARE_TRACE
SOFTWARE_TRACE = 1;
public static final RunOptions.TraceLevel HARDWARE_TRACE
HARDWARE_TRACE = 2;
public static final RunOptions.TraceLevel FULL_TRACE
FULL_TRACE = 3;
public static final RunOptions.TraceLevel UNRECOGNIZED
public static final int NO_TRACE_VALUE
NO_TRACE = 0;
public static final int SOFTWARE_TRACE_VALUE
SOFTWARE_TRACE = 1;
public static final int HARDWARE_TRACE_VALUE
HARDWARE_TRACE = 2;
public static final int FULL_TRACE_VALUE
FULL_TRACE = 3;
public static RunOptions.TraceLevel[] values()
for (RunOptions.TraceLevel c : RunOptions.TraceLevel.values()) System.out.println(c);
public static RunOptions.TraceLevel 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 final int getNumber()
getNumber
in interface org.nd4j.shade.protobuf.Internal.EnumLite
getNumber
in interface org.nd4j.shade.protobuf.ProtocolMessageEnum
@Deprecated public static RunOptions.TraceLevel valueOf(int value)
forNumber(int)
instead.public static RunOptions.TraceLevel forNumber(int value)
public static org.nd4j.shade.protobuf.Internal.EnumLiteMap<RunOptions.TraceLevel> internalGetValueMap()
public final org.nd4j.shade.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor
in interface org.nd4j.shade.protobuf.ProtocolMessageEnum
public final org.nd4j.shade.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType
in interface org.nd4j.shade.protobuf.ProtocolMessageEnum
public static final org.nd4j.shade.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static RunOptions.TraceLevel valueOf(org.nd4j.shade.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2020. All rights reserved.