constructor(max_length, eos_token_id) {
        super();
        this.max_length = max_length;
        this.eos_token_id = Array.isArray(eos_token_id) ? eos_token_id : [eos_token_id];
    }
Create a ForcedEOSTokenLogitsProcessor.
@param {number} max_length The maximum length of the sequence to be generated.
@param {number|number[]} eos_token_id The id(s) of the *end-of-sequence* token.