Enum Class Pooling
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<Pooling>,Constable
Protobuf enum
arg_services.nlp.v1.Pooling-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionFirst element of vector.Geometirc mean of all elements.Harmonic mean of all elements.Last element of vector.Maximum element of vector.Arithmetic mean of all elements.Median element of vector.Minimum element of vector.Sum of all elements.IN the default case, the arithmetic mean should be used. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intFirst element of vector.static final intGeometirc mean of all elements.static final intHarmonic mean of all elements.static final intLast element of vector.static final intMaximum element of vector.static final intArithmetic mean of all elements.static final intMedian element of vector.static final intMinimum element of vector.static final intSum of all elements.static final intIN the default case, the arithmetic mean should be used. -
Method Summary
Modifier and TypeMethodDescriptionstatic PoolingforNumber(int value) static final com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<Pooling>static PoolingvalueOf(int value) Deprecated.static PoolingvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name.static PoolingReturns the enum constant of this class with the specified name.static Pooling[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
POOLING_UNSPECIFIED
IN the default case, the arithmetic mean should be used.
POOLING_UNSPECIFIED = 0; -
POOLING_MEAN
Arithmetic mean of all elements. [Wikipedia](https://en.wikipedia.org/wiki/Arithmetic_mean).
POOLING_MEAN = 1; -
POOLING_MAX
Maximum element of vector. [Wikipedia](https://en.wikipedia.org/wiki/Maximum).
POOLING_MAX = 2; -
POOLING_MIN
Minimum element of vector. [Wikipedia](https://en.wikipedia.org/wiki/Minimum).
POOLING_MIN = 3; -
POOLING_SUM
Sum of all elements.
POOLING_SUM = 4; -
POOLING_FIRST
First element of vector.
POOLING_FIRST = 5; -
POOLING_LAST
Last element of vector.
POOLING_LAST = 6; -
POOLING_MEDIAN
Median element of vector. [Wikipedia](https://en.wikipedia.org/wiki/Median).
POOLING_MEDIAN = 7; -
POOLING_GMEAN
Geometirc mean of all elements. [Wikipedia](https://en.wikipedia.org/wiki/Geometric_mean).
POOLING_GMEAN = 8; -
POOLING_HMEAN
Harmonic mean of all elements. [Wikipedia](https://en.wikipedia.org/wiki/Harmonic_mean).
POOLING_HMEAN = 9; -
UNRECOGNIZED
-
-
Field Details
-
POOLING_UNSPECIFIED_VALUE
public static final int POOLING_UNSPECIFIED_VALUEIN the default case, the arithmetic mean should be used.
POOLING_UNSPECIFIED = 0;- See Also:
-
POOLING_MEAN_VALUE
public static final int POOLING_MEAN_VALUEArithmetic mean of all elements. [Wikipedia](https://en.wikipedia.org/wiki/Arithmetic_mean).
POOLING_MEAN = 1;- See Also:
-
POOLING_MAX_VALUE
public static final int POOLING_MAX_VALUEMaximum element of vector. [Wikipedia](https://en.wikipedia.org/wiki/Maximum).
POOLING_MAX = 2;- See Also:
-
POOLING_MIN_VALUE
public static final int POOLING_MIN_VALUEMinimum element of vector. [Wikipedia](https://en.wikipedia.org/wiki/Minimum).
POOLING_MIN = 3;- See Also:
-
POOLING_SUM_VALUE
public static final int POOLING_SUM_VALUESum of all elements.
POOLING_SUM = 4;- See Also:
-
POOLING_FIRST_VALUE
public static final int POOLING_FIRST_VALUEFirst element of vector.
POOLING_FIRST = 5;- See Also:
-
POOLING_LAST_VALUE
public static final int POOLING_LAST_VALUELast element of vector.
POOLING_LAST = 6;- See Also:
-
POOLING_MEDIAN_VALUE
public static final int POOLING_MEDIAN_VALUEMedian element of vector. [Wikipedia](https://en.wikipedia.org/wiki/Median).
POOLING_MEDIAN = 7;- See Also:
-
POOLING_GMEAN_VALUE
public static final int POOLING_GMEAN_VALUEGeometirc mean of all elements. [Wikipedia](https://en.wikipedia.org/wiki/Geometric_mean).
POOLING_GMEAN = 8;- See Also:
-
POOLING_HMEAN_VALUE
public static final int POOLING_HMEAN_VALUEHarmonic mean of all elements. [Wikipedia](https://en.wikipedia.org/wiki/Harmonic_mean).
POOLING_HMEAN = 9;- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
getNumber
public final int getNumber()- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
Deprecated.Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class 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
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()- Specified by:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-