NLP - Sequence Models for NLP
Examine the following PyTorch GRU usage:
What is the issue with this code?
gru = nn.GRU(input_size=20, hidden_size=40) input_tensor = torch.randn(10, 5, 20) output, hidden = gru(input_tensor, hidden=None)
What is the issue with this code?
