| __init__(self, num_embeddings, embedding_dim, padding_idx=None, max_norm=None, norm_type=2., scale_grad_by_freq=False, sparse=False, _weight=None) (defined in torch.nn.modules.sparse.Embedding) | torch.nn.modules.sparse.Embedding | |
| embedding_dim (defined in torch.nn.modules.sparse.Embedding) | torch.nn.modules.sparse.Embedding | |
| extra_repr(self) (defined in torch.nn.modules.sparse.Embedding) | torch.nn.modules.sparse.Embedding | |
| forward(self, input) (defined in torch.nn.modules.sparse.Embedding) | torch.nn.modules.sparse.Embedding | |
| from_pretrained(cls, embeddings, freeze=True, padding_idx=None, max_norm=None, norm_type=2., scale_grad_by_freq=False, sparse=False) (defined in torch.nn.modules.sparse.Embedding) | torch.nn.modules.sparse.Embedding | |
| max_norm (defined in torch.nn.modules.sparse.Embedding) | torch.nn.modules.sparse.Embedding | |
| norm_type (defined in torch.nn.modules.sparse.Embedding) | torch.nn.modules.sparse.Embedding | |
| num_embeddings (defined in torch.nn.modules.sparse.Embedding) | torch.nn.modules.sparse.Embedding | |
| padding_idx (defined in torch.nn.modules.sparse.Embedding) | torch.nn.modules.sparse.Embedding | |
| reset_parameters(self) (defined in torch.nn.modules.sparse.Embedding) | torch.nn.modules.sparse.Embedding | |
| scale_grad_by_freq (defined in torch.nn.modules.sparse.Embedding) | torch.nn.modules.sparse.Embedding | |
| sparse (defined in torch.nn.modules.sparse.Embedding) | torch.nn.modules.sparse.Embedding | |
| weight (defined in torch.nn.modules.sparse.Embedding) | torch.nn.modules.sparse.Embedding | |