However, I’m facing this other error
embedding(): argument ‘indices’ (position 2) must be Tensor, not tuple
I have converted the max_features to tensor type using torch.tensor but still the same error occurs. This max_features is the total vocab_size which I’m passing to the embedding layer.
Please, help me figure out this issue as well.