1 write to token_type_embeddings
Microsoft.ML.TorchSharp (1)
Roberta\Modules\Embeddings.cs (1)
27
token_type_embeddings
= torch.nn.Embedding(maxTokenTypes, embeddingSize);
2 references to token_type_embeddings
Microsoft.ML.TorchSharp (2)
Roberta\Modules\Embeddings.cs (2)
39
var tokenTypeEmbedding =
token_type_embeddings
.forward(segments);
54
token_type_embeddings
.Dispose();