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