Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How will the bidirectional flag handle a batch of examples of different sizes? #9

Open
horiacristescu opened this issue Dec 17, 2019 · 0 comments

Comments

@horiacristescu
Copy link

Hi, I want to use indRNN with batches of examples of different size, but I see this in the repo:

            if self.bidirectional:
                x_T = torch.cat([x, x.flip(-1)], 1)

This makes me think that perhaps the examples are not being flipped properly, because the torch.flip function is applied to the full width tensor.

@horiacristescu horiacristescu changed the title How will bidirectional handle a batch of examples of different sizes? How will the bidirectional flag handle a batch of examples of different sizes? Dec 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant