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 to achieve the temporal-first scan and spatialtemporal scan v1 & v2? #80

Open
JACOBWHY opened this issue Aug 14, 2024 · 1 comment

Comments

@JACOBWHY
Copy link

Hi , thanks for your brilliant work! I saw you use 4 kinds of scan methods in Fig.4 in the paper. I guess only spatial-first bidirectional scan is used in the mamba_simple.py. I am intrigued by the other three scanning methodologies you've mentioned. Would it be possible to kindly share some guidance on how to implement the remaining methods—namely, the temporal-first scan, as well as the spatial-temporal scan versions 1 and 2? Your insights would be immensely valuable.
Thank you very much for considering my request.

@Andy1621
Copy link
Collaborator

Hi! The key differences between different scans are the tensor order.

You can use permute and reshape to achieve different scans.

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

2 participants