1 write to LayerNorm
Microsoft.ML.TorchSharp (1)
Roberta\Modules\Output.cs (1)
23
LayerNorm
= torch.nn.LayerNorm(new long[] { hiddenSize });
2 references to LayerNorm
Microsoft.ML.TorchSharp (2)
Roberta\Modules\Output.cs (2)
32
hiddenStates =
LayerNorm
.forward(hiddenStates + inputTensor);
43
LayerNorm
.Dispose();