Base:
4 overrides of forward
Microsoft.ML.TorchSharp (4)
NasBert\Modules\Layers\EncConvLayer.cs (1)
46
public override torch.Tensor
forward
(torch.Tensor x, Dictionary<string, object> param = null)
NasBert\Modules\Layers\FeedForwardLayer.cs (1)
66
public override torch.Tensor
forward
(torch.Tensor x, Dictionary<string, object> param)
NasBert\Modules\Layers\IdentityLayer.cs (1)
20
public override torch.Tensor
forward
(torch.Tensor x, Dictionary<string, object> param = null)
NasBert\Modules\Layers\SelfAttentionLayer.cs (1)
55
public override torch.Tensor
forward
(torch.Tensor x, Dictionary<string, object> param)
2 references to forward
Microsoft.ML.TorchSharp (2)
NasBert\Modules\TransformerCell.cs (2)
65
return (Operations[arch] as Layer)!.
forward
(x, new Dictionary<string, object>
130
return Operation.
forward
(x, new Dictionary<string, object>