1 reference to Concat
Microsoft.ML.TorchSharp (1)
Roberta\Models\RobertaModel.cs (1)
119
torch.tensor(DataUtils.
Concat
<int>(Zeros.AsSpan(0, questionSize + 2), Ones.AsSpan(0, allSize - questionSize - 2), Zeros.AsSpan(0, size - allSize)),