Enum Model.NodeClass
- All Implemented Interfaces:
Internal.EnumLite, ProtocolMessageEnum, Serializable, Comparable<Model.NodeClass>
- Enclosing class:
Model
Class of a node in the performance model.Protobuf enum
tensorflow.data.model.NodeClass-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionASYNC_INTERLEAVE_MANY = 2;ASYNC_KNOWN_RATIO = 4;ASYNC_UNKNOWN_RATIO = 6;INTERLEAVE_MANY = 1;KNOWN_RATIO = 3;UNKNOWN = 0;UNKNOWN_RATIO = 5; -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intASYNC_INTERLEAVE_MANY = 2;static final intASYNC_KNOWN_RATIO = 4;static final intASYNC_UNKNOWN_RATIO = 6;static final intINTERLEAVE_MANY = 1;static final intKNOWN_RATIO = 3;static final intUNKNOWN_RATIO = 5;static final intUNKNOWN = 0; -
Method Summary
Modifier and TypeMethodDescriptionstatic Model.NodeClassforNumber(int value) static final Descriptors.EnumDescriptorfinal intstatic Internal.EnumLiteMap<Model.NodeClass> static Model.NodeClassvalueOf(int value) Deprecated.static Model.NodeClassReturns the enum constant of this type with the specified name.static Model.NodeClassReturns the enum constant of this type with the specified name.static Model.NodeClass[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
UNKNOWN
UNKNOWN = 0; -
INTERLEAVE_MANY
INTERLEAVE_MANY = 1; -
ASYNC_INTERLEAVE_MANY
ASYNC_INTERLEAVE_MANY = 2; -
KNOWN_RATIO
KNOWN_RATIO = 3; -
ASYNC_KNOWN_RATIO
ASYNC_KNOWN_RATIO = 4; -
UNKNOWN_RATIO
UNKNOWN_RATIO = 5; -
ASYNC_UNKNOWN_RATIO
ASYNC_UNKNOWN_RATIO = 6; -
UNRECOGNIZED
-
-
Field Details
-
UNKNOWN_VALUE
public static final int UNKNOWN_VALUEUNKNOWN = 0;- See Also:
-
INTERLEAVE_MANY_VALUE
public static final int INTERLEAVE_MANY_VALUEINTERLEAVE_MANY = 1;- See Also:
-
ASYNC_INTERLEAVE_MANY_VALUE
public static final int ASYNC_INTERLEAVE_MANY_VALUEASYNC_INTERLEAVE_MANY = 2;- See Also:
-
KNOWN_RATIO_VALUE
public static final int KNOWN_RATIO_VALUEKNOWN_RATIO = 3;- See Also:
-
ASYNC_KNOWN_RATIO_VALUE
public static final int ASYNC_KNOWN_RATIO_VALUEASYNC_KNOWN_RATIO = 4;- See Also:
-
UNKNOWN_RATIO_VALUE
public static final int UNKNOWN_RATIO_VALUEUNKNOWN_RATIO = 5;- See Also:
-
ASYNC_UNKNOWN_RATIO_VALUE
public static final int ASYNC_UNKNOWN_RATIO_VALUEASYNC_UNKNOWN_RATIO = 6;- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getNumber
public final int getNumber()- Specified by:
getNumberin interfaceInternal.EnumLite- Specified by:
getNumberin interfaceProtocolMessageEnum
-
valueOf
Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
value- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
forNumber
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
-
getValueDescriptor
- Specified by:
getValueDescriptorin interfaceProtocolMessageEnum
-
getDescriptorForType
- Specified by:
getDescriptorForTypein interfaceProtocolMessageEnum
-
getDescriptor
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
desc- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-