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