{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/maxvit-multi-axis-vision-transformer","title":"MaxViT: Multi-Axis Vision Transformer","arxiv_id":"2204.01697","date":"2022-04-04","proceeding":null,"authors":["Zhengzhong Tu","Hossein Talebi","Han Zhang","Feng Yang","Peyman Milanfar","Alan Bovik","Yinxiao Li"],"abstract":"Transformers have recently gained significant attention in the computer vision community. However, the lack of scalability of self-attention mechanisms with respect to image size has limited their wide adoption in state-of-the-art vision backbones. In this paper we introduce an efficient and scalable attention model we call multi-axis attention, which consists of two aspects: blocked local and dilated global attention. These design choices allow global-local spatial interactions on arbitrary input resolutions with only linear complexity. We also present a new architectural element by effectively blending our proposed attention model with convolutions, and accordingly propose a simple hierarchical vision backbone, dubbed MaxViT, by simply repeating the basic building block over multiple stages. Notably, MaxViT is able to ''see'' globally throughout the entire network, even in earlier, high-resolution stages. We demonstrate the effectiveness of our model on a broad spectrum of vision tasks. On image classification, MaxViT achieves state-of-the-art performance under various settings: without extra data, MaxViT attains 86.5% ImageNet-1K top-1 accuracy; with ImageNet-21K pre-training, our model achieves 88.7% top-1 accuracy. For downstream tasks, MaxViT as a backbone delivers favorable performance on object detection as well as visual aesthetic assessment. We also show that our proposed model expresses strong generative modeling capability on ImageNet, demonstrating the superior potential of MaxViT blocks as a universal vision module. The source code and trained models will be available at https://github.com/google-research/maxvit.","url_abs":"https://arxiv.org/abs/2204.01697v4","url_pdf":"https://arxiv.org/pdf/2204.01697v4.pdf","source":{"archive":"pwc-archive (Hugging Face), CC BY-SA 4.0","snapshot":"2025-07-28","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","row_kind":"abstracts"},"code_links":[{"paper_slug":"maxvit-multi-axis-vision-transformer","repo_url":"https://github.com/google-research/maxvit","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"tf","reach":null},{"paper_slug":"maxvit-multi-axis-vision-transformer","repo_url":"https://github.com/ChristophReich1996/MaxViT","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}},{"paper_slug":"maxvit-multi-axis-vision-transformer","repo_url":"https://github.com/RooKichenn/pytorch-MaxViT","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok"}},{"paper_slug":"maxvit-multi-axis-vision-transformer","repo_url":"https://github.com/google-research/maxim","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"jax","reach":null},{"paper_slug":"maxvit-multi-axis-vision-transformer","repo_url":"https://github.com/hankyul2/maxvit-pytorch","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":null},{"paper_slug":"maxvit-multi-axis-vision-transformer","repo_url":"https://github.com/lucidrains/imagen-pytorch","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}},{"paper_slug":"maxvit-multi-axis-vision-transformer","repo_url":"https://github.com/lucidrains/vit-pytorch","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":null},{"paper_slug":"maxvit-multi-axis-vision-transformer","repo_url":"https://github.com/qwopqwop200/MaxVIT-pytorch","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}},{"paper_slug":"maxvit-multi-axis-vision-transformer","repo_url":"https://github.com/2024-MindSpore-1/Code3/tree/main/MaxViT","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":0,"framework":"mindspore","reach":null},{"paper_slug":"maxvit-multi-axis-vision-transformer","repo_url":"https://github.com/Mind23-2/MindCode-101/tree/main/NFNet","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":0,"framework":"mindspore","reach":null},{"paper_slug":"maxvit-multi-axis-vision-transformer","repo_url":"https://github.com/Mind23-2/MindCode-3/tree/main/NFNet","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":0,"framework":"mindspore","reach":null},{"paper_slug":"maxvit-multi-axis-vision-transformer","repo_url":"https://github.com/huggingface/pytorch-image-models/blob/main/timm/models/maxxvit.py","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":0,"framework":"pytorch","reach":null},{"paper_slug":"maxvit-multi-axis-vision-transformer","repo_url":"https://github.com/leondgarse/keras_cv_attention_models/tree/main/keras_cv_attention_models/maxvit","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":0,"framework":"tf","reach":null},{"paper_slug":"maxvit-multi-axis-vision-transformer","repo_url":"https://github.com/towhee-io/towhee","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":0,"framework":"pytorch","reach":null},{"paper_slug":"maxvit-multi-axis-vision-transformer","repo_url":"https://gitlab.com/birder/birder","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":0,"framework":"pytorch","reach":null}],"tasks":[{"task_slug":"image-classification","task_name":"Image Classification"},{"task_slug":"object-detection","task_name":"Object Detection"},{"task_slug":"image-classification","task_name":"image-classification"},{"task_slug":"object-detection-1","task_name":"object-detection"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[{"leaderboard":"/sota/image-classification-on-imagenet","task":"Image Classification","dataset":"ImageNet","model":"MaxViT-XL (512res, JFT)","rank_in_archive_order":17,"of":1060,"metrics":{"Top 1 Accuracy":"89.53%"},"uses_additional_data":false},{"leaderboard":"/sota/image-classification-on-imagenet","task":"Image Classification","dataset":"ImageNet","model":"MaxViT-L (512res, JFT)","rank_in_archive_order":20,"of":1060,"metrics":{"Top 1 Accuracy":"89.41%"},"uses_additional_data":false},{"leaderboard":"/sota/image-classification-on-imagenet","task":"Image Classification","dataset":"ImageNet","model":"MaxViT-XL (384res, JFT)","rank_in_archive_order":21,"of":1060,"metrics":{"Top 1 Accuracy":"89.36%"},"uses_additional_data":false},{"leaderboard":"/sota/image-classification-on-imagenet","task":"Image Classification","dataset":"ImageNet","model":"MaxViT-L (384res, JFT)","rank_in_archive_order":24,"of":1060,"metrics":{"Top 1 Accuracy":"89.12%"},"uses_additional_data":false},{"leaderboard":"/sota/image-classification-on-imagenet","task":"Image Classification","dataset":"ImageNet","model":"MaxViT-B (512res, JFT)","rank_in_archive_order":29,"of":1060,"metrics":{"Top 1 Accuracy":"88.82%"},"uses_additional_data":false},{"leaderboard":"/sota/image-classification-on-imagenet","task":"Image Classification","dataset":"ImageNet","model":"MaxViT-XL (512res, 21K)","rank_in_archive_order":32,"of":1060,"metrics":{"Top 1 Accuracy":"88.7%"},"uses_additional_data":false},{"leaderboard":"/sota/image-classification-on-imagenet","task":"Image Classification","dataset":"ImageNet","model":"MaxViT-B (384res, JFT)","rank_in_archive_order":33,"of":1060,"metrics":{"Top 1 Accuracy":"88.69%"},"uses_additional_data":false},{"leaderboard":"/sota/image-classification-on-imagenet","task":"Image Classification","dataset":"ImageNet","model":"MaxViT-XL (384res, 21K)","rank_in_archive_order":41,"of":1060,"metrics":{"Top 1 Accuracy":"88.51%"},"uses_additional_data":false},{"leaderboard":"/sota/image-classification-on-imagenet","task":"Image Classification","dataset":"ImageNet","model":"MaxViT-L (512res, 21K)","rank_in_archive_order":46,"of":1060,"metrics":{"Top 1 Accuracy":"88.46%"},"uses_additional_data":false},{"leaderboard":"/sota/image-classification-on-imagenet","task":"Image Classification","dataset":"ImageNet","model":"MaxViT-B (512res, 21K)","rank_in_archive_order":49,"of":1060,"metrics":{"Top 1 Accuracy":"88.38%"},"uses_additional_data":false},{"leaderboard":"/sota/image-classification-on-imagenet","task":"Image Classification","dataset":"ImageNet","model":"MaxViT-L (384res, 21K)","rank_in_archive_order":53,"of":1060,"metrics":{"Top 1 Accuracy":"88.32%"},"uses_additional_data":false},{"leaderboard":"/sota/image-classification-on-imagenet","task":"Image Classification","dataset":"ImageNet","model":"MaxViT-B (512res)","rank_in_archive_order":127,"of":1060,"metrics":{"Top 1 Accuracy":"86.7%"},"uses_additional_data":false},{"leaderboard":"/sota/image-classification-on-imagenet","task":"Image Classification","dataset":"ImageNet","model":"MaxViT-L (384res)","rank_in_archive_order":144,"of":1060,"metrics":{"Top 1 Accuracy":"86.4%"},"uses_additional_data":false},{"leaderboard":"/sota/image-classification-on-imagenet","task":"Image Classification","dataset":"ImageNet","model":"MaxViT-B (384res)","rank_in_archive_order":153,"of":1060,"metrics":{"Top 1 Accuracy":"86.34%"},"uses_additional_data":false},{"leaderboard":"/sota/image-classification-on-imagenet","task":"Image Classification","dataset":"ImageNet","model":"MaxViT-S (512res)","rank_in_archive_order":171,"of":1060,"metrics":{"Top 1 Accuracy":"86.19%"},"uses_additional_data":false},{"leaderboard":"/sota/image-classification-on-imagenet","task":"Image Classification","dataset":"ImageNet","model":"MaxViT-T (384res)","rank_in_archive_order":203,"of":1060,"metrics":{"Top 1 Accuracy":"85.72%"},"uses_additional_data":false},{"leaderboard":"/sota/image-classification-on-imagenet","task":"Image Classification","dataset":"ImageNet","model":"MaxViT-L (224res)","rank_in_archive_order":252,"of":1060,"metrics":{"GFLOPs":"43.9","Number of params":"212M","Top 1 Accuracy":"85.17%"},"uses_additional_data":false},{"leaderboard":"/sota/image-classification-on-imagenet","task":"Image Classification","dataset":"ImageNet","model":"MaxViT-B (224res)","rank_in_archive_order":272,"of":1060,"metrics":{"GFLOPs":"23.4","Number of params":"120M","Top 1 Accuracy":"84.94%"},"uses_additional_data":false},{"leaderboard":"/sota/image-classification-on-imagenet","task":"Image Classification","dataset":"ImageNet","model":"MaxViT-S (224res)","rank_in_archive_order":315,"of":1060,"metrics":{"GFLOPs":"11.7","Number of params":"69M","Top 1 Accuracy":"84.45%"},"uses_additional_data":false},{"leaderboard":"/sota/image-classification-on-imagenet","task":"Image Classification","dataset":"ImageNet","model":"MaxViT-T (224res)","rank_in_archive_order":404,"of":1060,"metrics":{"GFLOPs":"5.6","Number of params":"31M","Top 1 Accuracy":"83.62%"},"uses_additional_data":false},{"leaderboard":"/sota/object-detection-on-coco-2017","task":"Object Detection","dataset":"COCO 2017","model":"MaxViT-B","rank_in_archive_order":1,"of":24,"metrics":{"AP":"53.4","AP50":"72.9","AP75":"58.1","APM":"45.7","APM50":"70.3","APM75":"50"},"uses_additional_data":false},{"leaderboard":"/sota/object-detection-on-coco-2017","task":"Object Detection","dataset":"COCO 2017","model":"MaxViT-S","rank_in_archive_order":2,"of":24,"metrics":{"AP":"53.1","AP50":"72.5","AP75":"58.1","APM":"45.4","APM50":"69.8","APM75":"49.5"},"uses_additional_data":false},{"leaderboard":"/sota/object-detection-on-coco-2017","task":"Object Detection","dataset":"COCO 2017","model":"MaxViT-T","rank_in_archive_order":3,"of":24,"metrics":{"AP":"52.1","AP50":"71.9","AP75":"56.8","APM":"44.6","APM50":"69.1","APM75":"48.4"},"uses_additional_data":false}],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2204.01697","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2204.01697"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-24T18:15:14+00:00","read_at_is":"when the build read Syntology's graph, not when any sample ran","claim":"Per-sample execution status on synthesized fixtures; not a correctness claim about the paper. Samples come from repositories linked to the paper, official or community; repo_kind says which.","repos":[{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/lucidrains/vit-pytorch","reach":null},{"provenance":"deterministic:regex_extraction","url":"https://github.com/google-research/maxvit","reach":null},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/hankyul2/maxvit-pytorch","reach":null},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/RooKichenn/pytorch-MaxViT","reach":{"status":"ok"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/leondgarse/keras_cv_attention_models/tree/main/keras_cv_attention_models/maxvit","reach":null},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/huggingface/pytorch-image-models/blob/main/timm/models/maxxvit.py","reach":null},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/qwopqwop200/MaxVIT-pytorch","reach":{"status":"ok","spdx":"MIT"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/Mind23-2/MindCode-3/tree/main/NFNet","reach":null},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://gitlab.com/birder/birder","reach":null},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/google-research/maxim","reach":null},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/2024-MindSpore-1/Code3/tree/main/MaxViT","reach":null},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/ChristophReich1996/MaxViT","reach":{"status":"ok","spdx":"MIT"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/lucidrains/imagen-pytorch","reach":{"status":"ok","spdx":"MIT"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/Mind23-2/MindCode-101/tree/main/NFNet","reach":null},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/towhee-io/towhee","reach":null}],"summary":{"ran":18,"ran_draft_wrong":2,"ran_fixture":11,"ran_honours":2,"unverified":20},"by_repo_kind":{"official":{"samples":11,"ran":4,"repositories":1},"listed":{"samples":42,"ran":29,"repositories":6}},"repo_kind_vocabulary":{"official":"The archive marks this repository official for the paper","named_in_paper":"The archive records that the paper mentions this repository; it is not marked official","listed":"In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper","found_in_text":"Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted","community":"Not in the archive's code links for this paper; a community repository Syntology harvested"},"n_pointer_only_for_licence":9,"samples":[{"code_sha256_prefix":"2bc733f08e821139","entry":"Attention","repo":"google-research/maxvit","repo_kind":"official","path":"maxvit/models/maxvit.py","file_url":"https://github.com/google-research/maxvit/blob/HEAD/maxvit/models/maxvit.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"2bc733f08e821139"}},{"code_sha256_prefix":"0ff4fe4361d49089","entry":"Attention","repo":"lucidrains/vit-pytorch","repo_kind":"listed","path":"vit_pytorch/max_vit.py","file_url":"https://github.com/lucidrains/vit-pytorch/blob/HEAD/vit_pytorch/max_vit.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"0ff4fe4361d49089"}},{"code_sha256_prefix":"d227ba24d7d8d855","entry":"Attention2d","repo":"hankyul2/maxvit-pytorch","repo_kind":"listed","path":"maxvit.py","file_url":"https://github.com/hankyul2/maxvit-pytorch/blob/HEAD/maxvit.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"d227ba24d7d8d855"}},{"code_sha256_prefix":"e2718d640d43e769","entry":"BatchNormalization","repo":"google-research/maxvit","repo_kind":"official","path":"maxvit/models/maxvit.py","file_url":"https://github.com/google-research/maxvit/blob/HEAD/maxvit/models/maxvit.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"e2718d640d43e769"}},{"code_sha256_prefix":"d8da107e27ecbe28","entry":"BlockGatingUnit","repo":"google-research/maxim","repo_kind":"listed","path":"maxim/models/maxim.py","file_url":"https://github.com/google-research/maxim/blob/HEAD/maxim/models/maxim.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"d8da107e27ecbe28"}},{"code_sha256_prefix":"325b31d5363dae7d","entry":"BlockGmlpLayer","repo":"google-research/maxim","repo_kind":"listed","path":"maxim/models/maxim.py","file_url":"https://github.com/google-research/maxim/blob/HEAD/maxim/models/maxim.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"325b31d5363dae7d"}},{"code_sha256_prefix":"b3be1bfa6f51c051","entry":"Dropsample","repo":"lucidrains/vit-pytorch","repo_kind":"listed","path":"vit_pytorch/max_vit.py","file_url":"https://github.com/lucidrains/vit-pytorch/blob/HEAD/vit_pytorch/max_vit.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"b3be1bfa6f51c051"}},{"code_sha256_prefix":"32bd4f3abdceaefe","entry":"FeedForward","repo":"lucidrains/vit-pytorch","repo_kind":"listed","path":"vit_pytorch/max_vit.py","file_url":"https://github.com/lucidrains/vit-pytorch/blob/HEAD/vit_pytorch/max_vit.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"invariant","behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"32bd4f3abdceaefe"}},{"code_sha256_prefix":"86d6d05360b6903b","entry":"GridGatingUnit","repo":"google-research/maxim","repo_kind":"listed","path":"maxim/models/maxim.py","file_url":"https://github.com/google-research/maxim/blob/HEAD/maxim/models/maxim.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"86d6d05360b6903b"}},{"code_sha256_prefix":"8fa30deee34804c0","entry":"LayerScale2d","repo":"hankyul2/maxvit-pytorch","repo_kind":"listed","path":"maxvit.py","file_url":"https://github.com/hankyul2/maxvit-pytorch/blob/HEAD/maxvit.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"8fa30deee34804c0"}},{"code_sha256_prefix":"6b918699878401db","entry":"MBConv","repo":"lucidrains/vit-pytorch","repo_kind":"listed","path":"vit_pytorch/max_vit.py","file_url":"https://github.com/lucidrains/vit-pytorch/blob/HEAD/vit_pytorch/max_vit.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"6b918699878401db"}},{"code_sha256_prefix":"f4987984f431cfd0","entry":"MBConvResidual","repo":"lucidrains/vit-pytorch","repo_kind":"listed","path":"vit_pytorch/max_vit.py","file_url":"https://github.com/lucidrains/vit-pytorch/blob/HEAD/vit_pytorch/max_vit.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"f4987984f431cfd0"}},{"code_sha256_prefix":"7e1c7833684c337a","entry":"MaxViT","repo":"lucidrains/vit-pytorch","repo_kind":"listed","path":"vit_pytorch/max_vit.py","file_url":"https://github.com/lucidrains/vit-pytorch/blob/HEAD/vit_pytorch/max_vit.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"7e1c7833684c337a"}},{"code_sha256_prefix":"08082022ac2c6e65","entry":"MaxxVitTransformerCfg","repo":"hankyul2/maxvit-pytorch","repo_kind":"listed","path":"maxvit.py","file_url":"https://github.com/hankyul2/maxvit-pytorch/blob/HEAD/maxvit.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"08082022ac2c6e65"}},{"code_sha256_prefix":"c72be25671079b1b","entry":"RelativeSelfAttention","repo":"towhee-io/towhee","repo_kind":"listed","path":"towhee/models/max_vit/max_vit.py","file_url":"https://github.com/towhee-io/towhee/blob/HEAD/towhee/models/max_vit/max_vit.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"c72be25671079b1b"}},{"code_sha256_prefix":"636a208dabc2a711","entry":"Residual","repo":"lucidrains/vit-pytorch","repo_kind":"listed","path":"vit_pytorch/max_vit.py","file_url":"https://github.com/lucidrains/vit-pytorch/blob/HEAD/vit_pytorch/max_vit.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"636a208dabc2a711"}},{"code_sha256_prefix":"b15b0232b5e08a9c","entry":"SqueezeExcitation","repo":"lucidrains/vit-pytorch","repo_kind":"listed","path":"vit_pytorch/max_vit.py","file_url":"https://github.com/lucidrains/vit-pytorch/blob/HEAD/vit_pytorch/max_vit.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"b15b0232b5e08a9c"}},{"code_sha256_prefix":"839c67588aa822e2","entry":"TrailDense","repo":"google-research/maxvit","repo_kind":"official","path":"maxvit/models/maxvit.py","file_url":"https://github.com/google-research/maxvit/blob/HEAD/maxvit/models/maxvit.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"839c67588aa822e2"}},{"code_sha256_prefix":"8a67f23552a44d61","entry":"block_images_einops","repo":"google-research/maxim","repo_kind":"listed","path":"maxim/models/maxim.py","file_url":"https://github.com/google-research/maxim/blob/HEAD/maxim/models/maxim.py","link_basis":"first_harvest_node","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"8a67f23552a44d61"}},{"code_sha256_prefix":"971ae8d2d8313e30","entry":"drop_path","repo":"qwopqwop200/MaxVIT-pytorch","repo_kind":"listed","path":"MaxVIT.py","file_url":"https://github.com/qwopqwop200/MaxVIT-pytorch/blob/HEAD/MaxVIT.py","link_basis":"harvester_set","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":"invariant","behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"971ae8d2d8313e30"}},{"code_sha256_prefix":"5ecfa57092a8cecc","entry":"float32_softmax","repo":"google-research/maxvit","repo_kind":"official","path":"maxvit/models/maxvit.py","file_url":"https://github.com/google-research/maxvit/blob/HEAD/maxvit/models/maxvit.py","link_basis":"first_harvest_node","language":"python","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"5ecfa57092a8cecc"}},{"code_sha256_prefix":"48de7cab87cd24fa","entry":"gelu_ignore_parameters","repo":"towhee-io/towhee","repo_kind":"listed","path":"towhee/models/max_vit/max_vit.py","file_url":"https://github.com/towhee-io/towhee/blob/HEAD/towhee/models/max_vit/max_vit.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"48de7cab87cd24fa"}},{"code_sha256_prefix":"9d7347fa5b820e84","entry":"get_rel_pos_cls","repo":"hankyul2/maxvit-pytorch","repo_kind":"listed","path":"maxvit.py","file_url":"https://github.com/hankyul2/maxvit-pytorch/blob/HEAD/maxvit.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"9d7347fa5b820e84"}},{"code_sha256_prefix":"2e62acbb2e8ec0a9","entry":"get_relative_position_index","repo":"towhee-io/towhee","repo_kind":"listed","path":"towhee/models/max_vit/max_vit.py","file_url":"https://github.com/towhee-io/towhee/blob/HEAD/towhee/models/max_vit/max_vit.py","link_basis":"first_harvest_node","language":"python","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"2e62acbb2e8ec0a9"}},{"code_sha256_prefix":"702e2dca4d951046","entry":"grid_partition","repo":"towhee-io/towhee","repo_kind":"listed","path":"towhee/models/max_vit/max_vit.py","file_url":"https://github.com/towhee-io/towhee/blob/HEAD/towhee/models/max_vit/max_vit.py","link_basis":"first_harvest_node","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"702e2dca4d951046"}},{"code_sha256_prefix":"f41c6472d974b50b","entry":"grid_partition_nchw","repo":"hankyul2/maxvit-pytorch","repo_kind":"listed","path":"maxvit.py","file_url":"https://github.com/hankyul2/maxvit-pytorch/blob/HEAD/maxvit.py","link_basis":"first_harvest_node","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":"invariant","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"f41c6472d974b50b"}},{"code_sha256_prefix":"3b95c931d4a4355d","entry":"grid_reverse","repo":"towhee-io/towhee","repo_kind":"listed","path":"towhee/models/max_vit/max_vit.py","file_url":"https://github.com/towhee-io/towhee/blob/HEAD/towhee/models/max_vit/max_vit.py","link_basis":"first_harvest_node","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"3b95c931d4a4355d"}},{"code_sha256_prefix":"80cee5fcd8a9952b","entry":"grid_reverse_nchw","repo":"hankyul2/maxvit-pytorch","repo_kind":"listed","path":"maxvit.py","file_url":"https://github.com/hankyul2/maxvit-pytorch/blob/HEAD/maxvit.py","link_basis":"first_harvest_node","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":"invariant","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"80cee5fcd8a9952b"}},{"code_sha256_prefix":"627ea4c76565d927","entry":"unblock_images_einops","repo":"google-research/maxim","repo_kind":"listed","path":"maxim/models/maxim.py","file_url":"https://github.com/google-research/maxim/blob/HEAD/maxim/models/maxim.py","link_basis":"first_harvest_node","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"627ea4c76565d927"}},{"code_sha256_prefix":"ab7995b8493f8bd3","entry":"window_partition","repo":"towhee-io/towhee","repo_kind":"listed","path":"towhee/models/max_vit/max_vit.py","file_url":"https://github.com/towhee-io/towhee/blob/HEAD/towhee/models/max_vit/max_vit.py","link_basis":"first_harvest_node","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"ab7995b8493f8bd3"}},{"code_sha256_prefix":"ae8a9a667b5d42f9","entry":"window_partition_nchw","repo":"hankyul2/maxvit-pytorch","repo_kind":"listed","path":"maxvit.py","file_url":"https://github.com/hankyul2/maxvit-pytorch/blob/HEAD/maxvit.py","link_basis":"first_harvest_node","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":"invariant","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"ae8a9a667b5d42f9"}},{"code_sha256_prefix":"10fe1fb26b9e9e9d","entry":"window_reverse","repo":"towhee-io/towhee","repo_kind":"listed","path":"towhee/models/max_vit/max_vit.py","file_url":"https://github.com/towhee-io/towhee/blob/HEAD/towhee/models/max_vit/max_vit.py","link_basis":"first_harvest_node","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"10fe1fb26b9e9e9d"}},{"code_sha256_prefix":"c72f01470606b887","entry":"window_reverse_nchw","repo":"hankyul2/maxvit-pytorch","repo_kind":"listed","path":"maxvit.py","file_url":"https://github.com/hankyul2/maxvit-pytorch/blob/HEAD/maxvit.py","link_basis":"first_harvest_node","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":"invariant","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"c72f01470606b887"}},{"code_sha256_prefix":"f50211588bf5be8b","entry":"FFN","repo":"google-research/maxvit","repo_kind":"official","path":"maxvit/models/maxvit.py","file_url":"https://github.com/google-research/maxvit/blob/HEAD/maxvit/models/maxvit.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"f50211588bf5be8b"}},{"code_sha256_prefix":"bcddd7996b51db67","entry":"GridGmlpLayer","repo":"google-research/maxim","repo_kind":"listed","path":"maxim/models/maxim.py","file_url":"https://github.com/google-research/maxim/blob/HEAD/maxim/models/maxim.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"bcddd7996b51db67"}},{"code_sha256_prefix":"2df10618a97ad3c5","entry":"MBConv","repo":"towhee-io/towhee","repo_kind":"listed","path":"towhee/models/max_vit/max_vit.py","file_url":"https://github.com/towhee-io/towhee/blob/HEAD/towhee/models/max_vit/max_vit.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"2df10618a97ad3c5"}},{"code_sha256_prefix":"2d7a9595c2215efd","entry":"MBConvBlock","repo":"google-research/maxvit","repo_kind":"official","path":"maxvit/models/maxvit.py","file_url":"https://github.com/google-research/maxvit/blob/HEAD/maxvit/models/maxvit.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"2d7a9595c2215efd"}},{"code_sha256_prefix":"f6a21a6318030b5d","entry":"MaxViT","repo":"towhee-io/towhee","repo_kind":"listed","path":"towhee/models/max_vit/max_vit.py","file_url":"https://github.com/towhee-io/towhee/blob/HEAD/towhee/models/max_vit/max_vit.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"f6a21a6318030b5d"}},{"code_sha256_prefix":"c99919623d98cd27","entry":"MaxViTBlock","repo":"google-research/maxvit","repo_kind":"official","path":"maxvit/models/maxvit.py","file_url":"https://github.com/google-research/maxvit/blob/HEAD/maxvit/models/maxvit.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"c99919623d98cd27"}},{"code_sha256_prefix":"04bab611e8e60c1e","entry":"MaxViTBlock","repo":"towhee-io/towhee","repo_kind":"listed","path":"towhee/models/max_vit/max_vit.py","file_url":"https://github.com/towhee-io/towhee/blob/HEAD/towhee/models/max_vit/max_vit.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"04bab611e8e60c1e"}},{"code_sha256_prefix":"1aad85bb6748a80a","entry":"MaxViTStage","repo":"towhee-io/towhee","repo_kind":"listed","path":"towhee/models/max_vit/max_vit.py","file_url":"https://github.com/towhee-io/towhee/blob/HEAD/towhee/models/max_vit/max_vit.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"1aad85bb6748a80a"}},{"code_sha256_prefix":"da9db733c947bc49","entry":"MaxViTTransformerBlock","repo":"towhee-io/towhee","repo_kind":"listed","path":"towhee/models/max_vit/max_vit.py","file_url":"https://github.com/towhee-io/towhee/blob/HEAD/towhee/models/max_vit/max_vit.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"da9db733c947bc49"}},{"code_sha256_prefix":"641d6f2b8dbc0745","entry":"PartitionAttention2d","repo":"hankyul2/maxvit-pytorch","repo_kind":"listed","path":"maxvit.py","file_url":"https://github.com/hankyul2/maxvit-pytorch/blob/HEAD/maxvit.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"641d6f2b8dbc0745"}},{"code_sha256_prefix":"e7fa9568a4a28913","entry":"ResidualSplitHeadMultiAxisGmlpLayer","repo":"google-research/maxim","repo_kind":"listed","path":"maxim/models/maxim.py","file_url":"https://github.com/google-research/maxim/blob/HEAD/maxim/models/maxim.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"e7fa9568a4a28913"}},{"code_sha256_prefix":"ee80113a460390fe","entry":"SE","repo":"google-research/maxvit","repo_kind":"official","path":"maxvit/models/maxvit.py","file_url":"https://github.com/google-research/maxvit/blob/HEAD/maxvit/models/maxvit.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"ee80113a460390fe"}},{"code_sha256_prefix":"d237bfe09ec44cfd","entry":"TpuBatchNormalization","repo":"google-research/maxvit","repo_kind":"official","path":"maxvit/models/maxvit.py","file_url":"https://github.com/google-research/maxvit/blob/HEAD/maxvit/models/maxvit.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"d237bfe09ec44cfd"}},{"code_sha256_prefix":"5d26f1a66e6a15e4","entry":"block","repo":"qwopqwop200/MaxVIT-pytorch","repo_kind":"listed","path":"MaxVIT.py","file_url":"https://github.com/qwopqwop200/MaxVIT-pytorch/blob/HEAD/MaxVIT.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"5d26f1a66e6a15e4"}},{"code_sha256_prefix":"20213f171bc1c7e9","entry":"config_batch_norm","repo":"google-research/maxvit","repo_kind":"official","path":"maxvit/models/maxvit.py","file_url":"https://github.com/google-research/maxvit/blob/HEAD/maxvit/models/maxvit.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"20213f171bc1c7e9"}},{"code_sha256_prefix":"256b0e25fa8d8cee","entry":"create_config_from_dict","repo":"google-research/maxvit","repo_kind":"official","path":"maxvit/models/maxvit.py","file_url":"https://github.com/google-research/maxvit/blob/HEAD/maxvit/models/maxvit.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"256b0e25fa8d8cee"}},{"code_sha256_prefix":"bbc5501012bdee68","entry":"grid_partition","repo":"ChristophReich1996/MaxViT","repo_kind":"listed","path":"maxvit/maxvit.py","file_url":"https://github.com/ChristophReich1996/MaxViT/blob/HEAD/maxvit/maxvit.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"bbc5501012bdee68"}},{"code_sha256_prefix":"6eaf2972dbdcacc3","entry":"unblock","repo":"qwopqwop200/MaxVIT-pytorch","repo_kind":"listed","path":"MaxVIT.py","file_url":"https://github.com/qwopqwop200/MaxVIT-pytorch/blob/HEAD/MaxVIT.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"6eaf2972dbdcacc3"}},{"code_sha256_prefix":"20f2f90659c203e1","entry":"window_partition","repo":"ChristophReich1996/MaxViT","repo_kind":"listed","path":"maxvit/maxvit.py","file_url":"https://github.com/ChristophReich1996/MaxViT/blob/HEAD/maxvit/maxvit.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"20f2f90659c203e1"}},{"code_sha256_prefix":"cd52f54038e59852","entry":"window_reverse","repo":"ChristophReich1996/MaxViT","repo_kind":"listed","path":"maxvit/maxvit.py","file_url":"https://github.com/ChristophReich1996/MaxViT/blob/HEAD/maxvit/maxvit.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"cd52f54038e59852"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}