Enum Class LlamaPoolingType

java.lang.Object
java.lang.Enum<LlamaPoolingType>
chat.octet.model.enums.LlamaPoolingType
All Implemented Interfaces:
Serializable, Comparable<LlamaPoolingType>, java.lang.constant.Constable

public enum LlamaPoolingType extends Enum<LlamaPoolingType>
Llama Pooling type define
Author:
William
  • Enum Constant Details

    • LLAMA_POOLING_TYPE_UNSPECIFIED

      public static final LlamaPoolingType LLAMA_POOLING_TYPE_UNSPECIFIED
      unspecified type.
    • LLAMA_POOLING_TYPE_NONE

      public static final LlamaPoolingType LLAMA_POOLING_TYPE_NONE
      pooling none type.
    • LLAMA_POOLING_TYPE_MEAN

      public static final LlamaPoolingType LLAMA_POOLING_TYPE_MEAN
      pooling mean type.
    • LLAMA_POOLING_TYPE_CLS

      public static final LlamaPoolingType LLAMA_POOLING_TYPE_CLS
      pooling cls type.
  • Method Details

    • values

      public static LlamaPoolingType[] 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

      public static LlamaPoolingType valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • valueOfType

      public static LlamaPoolingType valueOfType(int type)
    • toString

      public String toString()
      Overrides:
      toString in class Enum<LlamaPoolingType>