Closed MogicianXD closed 4 years ago
Is it necessary to set the arg padding_idx of torch.nn.embbedding, as all features start from 1. I think it's better to avoid influence of 0.
padding_idx
torch.nn.embbedding
Thank you for the suggestion! Features starting from zero may not be in use now, but I sometime use them for private projects. I'd like to keep it that way because It doesn't affect the accuracy of the models.
Is it necessary to set the arg
padding_idx
oftorch.nn.embbedding
, as all features start from 1. I think it's better to avoid influence of 0.