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

What is the implementation in the lines? #12

Open
TicTacToePP opened this issue Aug 11, 2024 · 0 comments
Open

What is the implementation in the lines? #12

TicTacToePP opened this issue Aug 11, 2024 · 0 comments

Comments

@TicTacToePP
Copy link

TicTacToePP commented Aug 11, 2024

xz_s = xz.chunk(self.nframes, dim=-1)
xz_s = torch.stack(xz_s,dim=-1)
xz_s = xz_s.flatten(-2)

I tested these lines and found xz_s is the same as original xz for the starting and ending elements, which confuses me. Could you please help explain the lines? thanks!

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