Class PadTokenResolver.PadInfo

java.lang.Object
ai.djl.huggingface.tokenizers.PadTokenResolver.PadInfo
Enclosing class:
PadTokenResolver

public static class PadTokenResolver.PadInfo extends Object
The type Pad info.
  • Constructor Details

    • PadInfo

      public PadInfo(String padToken, int padId)
      Instantiates a new Pad info.
      Parameters:
      padToken - the pad token
      padId - the pad id
  • Method Details

    • getPadToken

      public String getPadToken()
      Gets pad token.
      Returns:
      the pad token
    • getPadId

      public int getPadId()
      Gets pad id.
      Returns:
      the pad id