controllable-text-attribute-transfer icon indicating copy to clipboard operation
controllable-text-attribute-transfer copied to clipboard

Usage of torch.nn.GRU

Open MokkeMeguru opened this issue 4 years ago • 1 comments

torch.nn.GRU 's input shape is [sequence_size, batch_size, hidden_size]. But your code such as https://github.com/Nrgeup/controllable-text-attribute-transfer/blob/master/method/mymodel-yelp/model2.py#L315 is [batch_size, sequence_size, hidden_size]. I think your code is something wrong...

MokkeMeguru avatar Mar 31 '20 18:03 MokkeMeguru

Thank you for your reminder!

Nrgeup avatar Mar 18 '21 11:03 Nrgeup