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

code question #48

Open
dream-hello opened this issue Oct 19, 2020 · 3 comments
Open

code question #48

dream-hello opened this issue Oct 19, 2020 · 3 comments

Comments

@dream-hello
Copy link

I have the following errors in running:
Wh_repeated_in_chunks = Wh.repeat_interleave(N, dim=0)
AttributeError: 'Tensor' object has no attribute 'repeat_interleave'
I have tried pytroch0.4.1 and 1.0, and this error has occurred. How can I solve this problem?
Good luck

@sxudai
Copy link

sxudai commented Oct 20, 2020

same question
pytorch 1.1 can solve my question

@da-da-da
Copy link

you can change it to Wh_repeated_in_chunks = Wh.repeat(1, N).view(N*N, -1) :)

@Fleurrr
Copy link

Fleurrr commented Dec 4, 2020

same question

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

4 participants