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