Packages

class MinLengthLogitProcessor extends LogitProcessor

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MinLengthLogitProcessor
  2. LogitProcessor
  3. Logit
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new MinLengthLogitProcessor(eosTokenId: Int, minLength: Int, vocabSize: Int)

Value Members

  1. def call(inputIds: Seq[Array[Int]], scores: Array[Array[Float]], currentLength: Int): Array[Array[Float]]
    Definition Classes
    MinLengthLogitProcessorLogit
  2. val eosTokenId: Int
  3. val minLength: Int
  4. val vocabSize: Int