Base:
2 overrides of forward
Microsoft.ML.TorchSharp (2)
NasBert\Modules\Embedding\LearnedPositionalEmbedding.cs (1)
40public override torch.Tensor forward(torch.Tensor input, Dictionary<string, object> param = null)
NasBert\Modules\Embedding\SinusoidalPositionalEmbedding.cs (1)
66public override torch.Tensor forward(torch.Tensor input, Dictionary<string, object> param = null)
1 reference to forward
Microsoft.ML.TorchSharp (1)
NasBert\Models\NasBertEncoder.cs (1)
206var positionalEmbedding = PositionalEmbedding.forward(tokens,