Base:
method
forward
Microsoft.ML.TorchSharp.NasBert.Models.BaseModel.forward(TorchSharp.torch.Tensor, TorchSharp.torch.Tensor)
2 references to forward
Microsoft.ML.TorchSharp (2)
Roberta\QATrainer.cs (2)
354
var logits = Model.
forward
(srcTensor); //[batchsize, maxseqlen, 2]
877
return _parent.Model.
forward
(inputTensor).MoveToOuterDisposeScope();