Skip to content
This repository has been archived by the owner on Oct 31, 2023. It is now read-only.

About the Kronecker Decomposition #6

Open
BerenChou opened this issue Oct 31, 2022 · 1 comment
Open

About the Kronecker Decomposition #6

BerenChou opened this issue Oct 31, 2022 · 1 comment

Comments

@BerenChou
Copy link

image
I did not understand this green-underlined equation. With the shapes you noted, it does not even satisfy the matrix multiplication.

@JeremieMelo
Copy link

JeremieMelo commented Nov 24, 2022

A and B are sqrt(C) x sqrt(C) matrices. the multiplication is on the last two dimensions of \tilde{x}. The "HW" is the batch dimension, where the matmul will be broadcasted. Details can be found in class DES at line 85 of https://github.com/facebookresearch/HRViT/blob/main/models/hrvit.py.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants