Package org.nd4j.ir

Enum OpNamespace.OpDescriptor.OpDeclarationType

    • 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
      • 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 name
        NullPointerException - if the argument is null
      • getNumber

        public final int getNumber()
        Specified by:
        getNumber in interface org.nd4j.shade.protobuf.Internal.EnumLite
        Specified by:
        getNumber in interface org.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 name
        NullPointerException - 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.
      • getValueDescriptor

        public final org.nd4j.shade.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
        Specified by:
        getValueDescriptor in interface org.nd4j.shade.protobuf.ProtocolMessageEnum
      • getDescriptorForType

        public final org.nd4j.shade.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface org.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 name
        NullPointerException - if the argument is null