5 references to MaxSequenceLength
Microsoft.ML.TorchSharp (5)
NasBert\Models\NasBertModel.cs (1)
30maxSeqLen: Options.MaxSequenceLength,
Roberta\Models\RobertaModel.cs (4)
43Positions = Enumerable.Range(0, options.MaxSequenceLength).ToArray(); 44Zeros = Enumerable.Repeat(0, options.MaxSequenceLength).ToArray(); 45Ones = Enumerable.Repeat(1, options.MaxSequenceLength).ToArray(); 46NegBillionPad = Enumerable.Repeat(negBillion, options.MaxSequenceLength).ToArray();