Skip to content

Usage of torch.nn.GRU #17

Description

@MokkeMeguru

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...

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions