1 write to LayerNorm
Microsoft.ML.TorchSharp (1)
Roberta\Modules\Embeddings.cs (1)
28
LayerNorm
= torch.nn.LayerNorm(new long[] { embeddingSize }, eps: layerNormEps);
2 references to LayerNorm
Microsoft.ML.TorchSharp (2)
Roberta\Modules\Embeddings.cs (2)
41
var output =
LayerNorm
.forward(tokenEmbedding);
55
LayerNorm
.Dispose();