Package org.nd4j.ir
Enum OpNamespace.OpDescriptor.OpDeclarationType
- java.lang.Object
-
- java.lang.Enum<OpNamespace.OpDescriptor.OpDeclarationType>
-
- org.nd4j.ir.OpNamespace.OpDescriptor.OpDeclarationType
-
- All Implemented Interfaces:
Serializable,Comparable<OpNamespace.OpDescriptor.OpDeclarationType>,org.nd4j.shade.protobuf.Internal.EnumLite,org.nd4j.shade.protobuf.ProtocolMessageEnum
- Enclosing class:
- OpNamespace.OpDescriptor
public static enum OpNamespace.OpDescriptor.OpDeclarationType extends Enum<OpNamespace.OpDescriptor.OpDeclarationType> implements org.nd4j.shade.protobuf.ProtocolMessageEnum
Protobuf enumorg.nd4j.ir.OpDescriptor.OpDeclarationType
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BOOLEAN_OP_IMPLBOOLEAN_OP_IMPL = 1;BROADCASTABLE_BOOL_OP_IMPLBROADCASTABLE_BOOL_OP_IMPL = 10;BROADCASTABLE_OP_IMPLBROADCASTABLE_OP_IMPL = 9;CONFIGURABLE_OP_IMPLCONFIGURABLE_OP_IMPL = 7;CUSTOM_OP_IMPLCUSTOM_OP_IMPL = 0;DIVERGENT_OP_IMPLDIVERGENT_OP_IMPL = 6;LEGACY_XYZLEGACY_XYZ = 11;LIST_OP_IMPLLIST_OP_IMPL = 2;LOGIC_OP_IMPLLOGIC_OP_IMPL = 3;OP_IMPLOP_IMPL = 4;PLATFORM_IMPLPLATFORM_IMPL = 12;REDUCTION_OP_IMPLREDUCTION_OP_IMPL = 8;UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static intBOOLEAN_OP_IMPL_VALUEBOOLEAN_OP_IMPL = 1;static intBROADCASTABLE_BOOL_OP_IMPL_VALUEBROADCASTABLE_BOOL_OP_IMPL = 10;static intBROADCASTABLE_OP_IMPL_VALUEBROADCASTABLE_OP_IMPL = 9;static intCONFIGURABLE_OP_IMPL_VALUECONFIGURABLE_OP_IMPL = 7;static intCUSTOM_OP_IMPL_VALUECUSTOM_OP_IMPL = 0;static intDIVERGENT_OP_IMPL_VALUEDIVERGENT_OP_IMPL = 6;static intLEGACY_XYZ_VALUELEGACY_XYZ = 11;static intLIST_OP_IMPL_VALUELIST_OP_IMPL = 2;static intLOGIC_OP_IMPL_VALUELOGIC_OP_IMPL = 3;static intOP_IMPL_VALUEOP_IMPL = 4;static intPLATFORM_IMPL_VALUEPLATFORM_IMPL = 12;static intREDUCTION_OP_IMPL_VALUEREDUCTION_OP_IMPL = 8;
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static OpNamespace.OpDescriptor.OpDeclarationTypeforNumber(int value)static org.nd4j.shade.protobuf.Descriptors.EnumDescriptorgetDescriptor()org.nd4j.shade.protobuf.Descriptors.EnumDescriptorgetDescriptorForType()intgetNumber()org.nd4j.shade.protobuf.Descriptors.EnumValueDescriptorgetValueDescriptor()static org.nd4j.shade.protobuf.Internal.EnumLiteMap<OpNamespace.OpDescriptor.OpDeclarationType>internalGetValueMap()static OpNamespace.OpDescriptor.OpDeclarationTypevalueOf(int value)Deprecated.static OpNamespace.OpDescriptor.OpDeclarationTypevalueOf(String name)Returns the enum constant of this type with the specified name.static OpNamespace.OpDescriptor.OpDeclarationTypevalueOf(org.nd4j.shade.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static OpNamespace.OpDescriptor.OpDeclarationType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CUSTOM_OP_IMPL
public static final OpNamespace.OpDescriptor.OpDeclarationType CUSTOM_OP_IMPL
CUSTOM_OP_IMPL = 0;
-
BOOLEAN_OP_IMPL
public static final OpNamespace.OpDescriptor.OpDeclarationType BOOLEAN_OP_IMPL
BOOLEAN_OP_IMPL = 1;
-
LIST_OP_IMPL
public static final OpNamespace.OpDescriptor.OpDeclarationType LIST_OP_IMPL
LIST_OP_IMPL = 2;
-
LOGIC_OP_IMPL
public static final OpNamespace.OpDescriptor.OpDeclarationType LOGIC_OP_IMPL
LOGIC_OP_IMPL = 3;
-
OP_IMPL
public static final OpNamespace.OpDescriptor.OpDeclarationType OP_IMPL
OP_IMPL = 4;
-
DIVERGENT_OP_IMPL
public static final OpNamespace.OpDescriptor.OpDeclarationType DIVERGENT_OP_IMPL
DIVERGENT_OP_IMPL = 6;
-
CONFIGURABLE_OP_IMPL
public static final OpNamespace.OpDescriptor.OpDeclarationType CONFIGURABLE_OP_IMPL
CONFIGURABLE_OP_IMPL = 7;
-
REDUCTION_OP_IMPL
public static final OpNamespace.OpDescriptor.OpDeclarationType REDUCTION_OP_IMPL
REDUCTION_OP_IMPL = 8;
-
BROADCASTABLE_OP_IMPL
public static final OpNamespace.OpDescriptor.OpDeclarationType BROADCASTABLE_OP_IMPL
BROADCASTABLE_OP_IMPL = 9;
-
BROADCASTABLE_BOOL_OP_IMPL
public static final OpNamespace.OpDescriptor.OpDeclarationType BROADCASTABLE_BOOL_OP_IMPL
BROADCASTABLE_BOOL_OP_IMPL = 10;
-
LEGACY_XYZ
public static final OpNamespace.OpDescriptor.OpDeclarationType LEGACY_XYZ
LEGACY_XYZ = 11;
-
PLATFORM_IMPL
public static final OpNamespace.OpDescriptor.OpDeclarationType PLATFORM_IMPL
PLATFORM_IMPL = 12;
-
UNRECOGNIZED
public static final OpNamespace.OpDescriptor.OpDeclarationType UNRECOGNIZED
-
-
Field Detail
-
CUSTOM_OP_IMPL_VALUE
public static final int CUSTOM_OP_IMPL_VALUE
CUSTOM_OP_IMPL = 0;- See Also:
- Constant Field Values
-
BOOLEAN_OP_IMPL_VALUE
public static final int BOOLEAN_OP_IMPL_VALUE
BOOLEAN_OP_IMPL = 1;- See Also:
- Constant Field Values
-
LIST_OP_IMPL_VALUE
public static final int LIST_OP_IMPL_VALUE
LIST_OP_IMPL = 2;- See Also:
- Constant Field Values
-
LOGIC_OP_IMPL_VALUE
public static final int LOGIC_OP_IMPL_VALUE
LOGIC_OP_IMPL = 3;- See Also:
- Constant Field Values
-
OP_IMPL_VALUE
public static final int OP_IMPL_VALUE
OP_IMPL = 4;- See Also:
- Constant Field Values
-
DIVERGENT_OP_IMPL_VALUE
public static final int DIVERGENT_OP_IMPL_VALUE
DIVERGENT_OP_IMPL = 6;- See Also:
- Constant Field Values
-
CONFIGURABLE_OP_IMPL_VALUE
public static final int CONFIGURABLE_OP_IMPL_VALUE
CONFIGURABLE_OP_IMPL = 7;- See Also:
- Constant Field Values
-
REDUCTION_OP_IMPL_VALUE
public static final int REDUCTION_OP_IMPL_VALUE
REDUCTION_OP_IMPL = 8;- See Also:
- Constant Field Values
-
BROADCASTABLE_OP_IMPL_VALUE
public static final int BROADCASTABLE_OP_IMPL_VALUE
BROADCASTABLE_OP_IMPL = 9;- See Also:
- Constant Field Values
-
BROADCASTABLE_BOOL_OP_IMPL_VALUE
public static final int BROADCASTABLE_BOOL_OP_IMPL_VALUE
BROADCASTABLE_BOOL_OP_IMPL = 10;- See Also:
- Constant Field Values
-
LEGACY_XYZ_VALUE
public static final int LEGACY_XYZ_VALUE
LEGACY_XYZ = 11;- See Also:
- Constant Field Values
-
PLATFORM_IMPL_VALUE
public static final int PLATFORM_IMPL_VALUE
PLATFORM_IMPL = 12;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static OpNamespace.OpDescriptor.OpDeclarationType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (OpNamespace.OpDescriptor.OpDeclarationType c : OpNamespace.OpDescriptor.OpDeclarationType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static OpNamespace.OpDescriptor.OpDeclarationType valueOf(String name)
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 interfaceorg.nd4j.shade.protobuf.Internal.EnumLite- Specified by:
getNumberin interfaceorg.nd4j.shade.protobuf.ProtocolMessageEnum
-
valueOf
@Deprecated public static OpNamespace.OpDescriptor.OpDeclarationType valueOf(int value)
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
public static OpNamespace.OpDescriptor.OpDeclarationType forNumber(int value)
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
public static org.nd4j.shade.protobuf.Internal.EnumLiteMap<OpNamespace.OpDescriptor.OpDeclarationType> internalGetValueMap()
-
getValueDescriptor
public final org.nd4j.shade.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
- Specified by:
getValueDescriptorin interfaceorg.nd4j.shade.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final org.nd4j.shade.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfaceorg.nd4j.shade.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final org.nd4j.shade.protobuf.Descriptors.EnumDescriptor getDescriptor()
-
valueOf
public static OpNamespace.OpDescriptor.OpDeclarationType valueOf(org.nd4j.shade.protobuf.Descriptors.EnumValueDescriptor desc)
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
-
-