Hi,
I try to create a GRU in pytorch as follows.
self.gru = nn.GRU(input_size=(4,128), hidden_size=128, num_layers=no_of_layers, batch_first=True)

Got the following error.
TypeError: new(): argument 'size' must be tuple of ints, but found element of type tuple at pos 2

Any idea what could be the mistake?
Thanks
Regards
Pranavan