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

The shape of torch.tril(eta_mini_batch) #33

Open
ZhaoqiZachYang opened this issue Nov 29, 2024 · 0 comments
Open

The shape of torch.tril(eta_mini_batch) #33

ZhaoqiZachYang opened this issue Nov 29, 2024 · 0 comments

Comments

@ZhaoqiZachYang
Copy link

In line 963 of the ttt.py, the shape of eta_mini_batch is [B, nh, K, 1], and in line 981, the shape of torch.tril(eta_mini_batch) is ought to be [B,nh,K,K]. However, the output shape of torch.tril([B, nh, K, 1]) is [B, nh, K, 1] rather than [B,nh,K,K]. May I know why the issue happens? 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