Enum Pooling

  • All Implemented Interfaces:
    com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, java.io.Serializable, java.lang.Comparable<Pooling>

    public enum Pooling
    extends java.lang.Enum<Pooling>
    implements com.google.protobuf.ProtocolMessageEnum
    Protobuf enum arg_services.nlp.v1.Pooling
    • Enum Constant Detail

      • POOLING_UNSPECIFIED

        public static final Pooling POOLING_UNSPECIFIED
         IN the default case, the arithmetic mean should be used.
         
        POOLING_UNSPECIFIED = 0;
      • POOLING_MEAN

        public static final Pooling POOLING_MEAN
         Arithmetic mean of all elements. [Wikipedia](https://en.wikipedia.org/wiki/Arithmetic_mean).
         
        POOLING_MEAN = 1;
      • POOLING_MAX

        public static final Pooling POOLING_MAX
         Maximum element of vector. [Wikipedia](https://en.wikipedia.org/wiki/Maximum).
         
        POOLING_MAX = 2;
      • POOLING_MIN

        public static final Pooling POOLING_MIN
         Minimum element of vector. [Wikipedia](https://en.wikipedia.org/wiki/Minimum).
         
        POOLING_MIN = 3;
      • POOLING_SUM

        public static final Pooling POOLING_SUM
         Sum of all elements.
         
        POOLING_SUM = 4;
      • POOLING_FIRST

        public static final Pooling POOLING_FIRST
         First element of vector.
         
        POOLING_FIRST = 5;
      • POOLING_LAST

        public static final Pooling POOLING_LAST
         Last element of vector.
         
        POOLING_LAST = 6;
      • POOLING_MEDIAN

        public static final Pooling POOLING_MEDIAN
         Median element of vector. [Wikipedia](https://en.wikipedia.org/wiki/Median).
         
        POOLING_MEDIAN = 7;
      • POOLING_GMEAN

        public static final Pooling POOLING_GMEAN
         Geometirc mean of all elements. [Wikipedia](https://en.wikipedia.org/wiki/Geometric_mean).
         
        POOLING_GMEAN = 8;
      • POOLING_HMEAN

        public static final Pooling POOLING_HMEAN
         Harmonic mean of all elements. [Wikipedia](https://en.wikipedia.org/wiki/Harmonic_mean).
         
        POOLING_HMEAN = 9;
      • UNRECOGNIZED

        public static final Pooling UNRECOGNIZED
    • Field Detail

      • POOLING_UNSPECIFIED_VALUE

        public static final int POOLING_UNSPECIFIED_VALUE
         IN the default case, the arithmetic mean should be used.
         
        POOLING_UNSPECIFIED = 0;
        See Also:
        Constant Field Values
      • POOLING_MEAN_VALUE

        public static final int POOLING_MEAN_VALUE
         Arithmetic mean of all elements. [Wikipedia](https://en.wikipedia.org/wiki/Arithmetic_mean).
         
        POOLING_MEAN = 1;
        See Also:
        Constant Field Values
      • POOLING_MAX_VALUE

        public static final int POOLING_MAX_VALUE
         Maximum element of vector. [Wikipedia](https://en.wikipedia.org/wiki/Maximum).
         
        POOLING_MAX = 2;
        See Also:
        Constant Field Values
      • POOLING_MIN_VALUE

        public static final int POOLING_MIN_VALUE
         Minimum element of vector. [Wikipedia](https://en.wikipedia.org/wiki/Minimum).
         
        POOLING_MIN = 3;
        See Also:
        Constant Field Values
      • POOLING_SUM_VALUE

        public static final int POOLING_SUM_VALUE
         Sum of all elements.
         
        POOLING_SUM = 4;
        See Also:
        Constant Field Values
      • POOLING_FIRST_VALUE

        public static final int POOLING_FIRST_VALUE
         First element of vector.
         
        POOLING_FIRST = 5;
        See Also:
        Constant Field Values
      • POOLING_LAST_VALUE

        public static final int POOLING_LAST_VALUE
         Last element of vector.
         
        POOLING_LAST = 6;
        See Also:
        Constant Field Values
      • POOLING_MEDIAN_VALUE

        public static final int POOLING_MEDIAN_VALUE
         Median element of vector. [Wikipedia](https://en.wikipedia.org/wiki/Median).
         
        POOLING_MEDIAN = 7;
        See Also:
        Constant Field Values
      • POOLING_GMEAN_VALUE

        public static final int POOLING_GMEAN_VALUE
         Geometirc mean of all elements. [Wikipedia](https://en.wikipedia.org/wiki/Geometric_mean).
         
        POOLING_GMEAN = 8;
        See Also:
        Constant Field Values
      • POOLING_HMEAN_VALUE

        public static final int POOLING_HMEAN_VALUE
         Harmonic mean of all elements. [Wikipedia](https://en.wikipedia.org/wiki/Harmonic_mean).
         
        POOLING_HMEAN = 9;
        See Also:
        Constant Field Values
    • Method Detail

      • values

        public static Pooling[] 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 (Pooling c : Pooling.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static Pooling valueOf​(java.lang.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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • getNumber

        public final int getNumber()
        Specified by:
        getNumber in interface com.google.protobuf.Internal.EnumLite
        Specified by:
        getNumber in interface com.google.protobuf.ProtocolMessageEnum
      • valueOf

        @Deprecated
        public static Pooling 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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • forNumber

        public static Pooling 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 com.google.protobuf.Internal.EnumLiteMap<Pooling> internalGetValueMap()
      • getValueDescriptor

        public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
        Specified by:
        getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnum
      • getDescriptorForType

        public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnum
      • getDescriptor

        public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
      • valueOf

        public static Pooling valueOf​(com.google.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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null