Package chat.octet.model.enums
Enum Class LlamaPoolingType
- All Implemented Interfaces:
Serializable,Comparable<LlamaPoolingType>,java.lang.constant.Constable
Llama Pooling type define
- Author:
- William
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionpooling cls type.pooling mean type.pooling none type.unspecified type. -
Method Summary
Modifier and TypeMethodDescriptiontoString()static LlamaPoolingTypeReturns the enum constant of this class with the specified name.static LlamaPoolingTypevalueOfType(int type) static LlamaPoolingType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
LLAMA_POOLING_TYPE_UNSPECIFIED
unspecified type. -
LLAMA_POOLING_TYPE_NONE
pooling none type. -
LLAMA_POOLING_TYPE_MEAN
pooling mean type. -
LLAMA_POOLING_TYPE_CLS
pooling cls type.
-
-
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
-
valueOfType
-
toString
- Overrides:
toStringin classEnum<LlamaPoolingType>
-