SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2203.11589 · ECCV · 2022

Adaptive Patch Exiting for Scalable Single Image Super-Resolution

Yandong Guo, Xiaoqi Li, Jiaming Liu, Ming Lu, Shizun Wang, Kaixin Chen

arXiv · PDF · Open in the Atlas

Code that ran

6 of 13 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (3 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 0 violated it and 3 have no contract verdict; 3 failures of our instrument; 7 no recorded run), measured 2026-11-23; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2203.11589.json · badge: /api/ran/2203.11589.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
littlepure2333/APE community
Papers with Code archive
3 ran · 7 no recorded run
copy not recorded community
not in the paper's declared repositories
3 ran · 0 no recorded run
FunctionStatusWhere it lives
DropPath Ran
ran on a synthesized input · constructed an object; no result was computed
littlepure2333/APE/model/swinir_ape.py
pointer only (licence: NONE) · get_code("2c28ad5498af1d70")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, littlepure2333/APE when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

Upsample Ran
ran on a synthesized input · constructed an object; no result was computed
littlepure2333/APE/model/swinir_ape.py
pointer only (licence: NONE) · get_code("ed05c8ce2b7bd1c7")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, littlepure2333/APE when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

UpsampleOneStep Ran
ran on a synthesized input · constructed an object; no result was computed
littlepure2333/APE/model/swinir_ape.py
pointer only (licence: NONE) · get_code("1d46d5b0b06b85ea")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, littlepure2333/APE when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

drop_path Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
this paper's copy was not recorded; identical code first harvested from XPixelGroup/BasicSR
pointer only · get_code("52d96aa31ed74a56")
How it ran

The body of this sample is withheld: this paper's copy of the code was not recorded (its link names no repository or source path), so no licence was read for it. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

window_partition Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
this paper's copy was not recorded; identical code first harvested from XPixelGroup/BasicSR
pointer only · get_code("60363d0620f5778d")
How it ran

The body of this sample is withheld: this paper's copy of the code was not recorded (its link names no repository or source path), so no licence was read for it. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

window_reverse Ran
ran; our contract draft was wrong, not the code
this paper's copy was not recorded; identical code first harvested from XPixelGroup/BasicSR
pointer only · get_code("4f003e9ad9b7a7cb")
How it ran

The body of this sample is withheld: this paper's copy of the code was not recorded (its link names no repository or source path), so no licence was read for it. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

BasicLayer Not yet run
unverified (harvested, no recorded run)
littlepure2333/APE/model/swinir_ape.py
pointer only (licence: NONE) · get_code("78b5f0f450e9e964")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, littlepure2333/APE when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

PatchEmbed Not yet run
unverified (harvested, no recorded run)
littlepure2333/APE/model/swinir_ape.py
pointer only (licence: NONE) · get_code("58479267b4a85427")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, littlepure2333/APE when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

PatchUnEmbed Not yet run
unverified (harvested, no recorded run)
littlepure2333/APE/model/swinir_ape.py
pointer only (licence: NONE) · get_code("bafcd1f59633494d")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, littlepure2333/APE when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

RSTB Not yet run
unverified (harvested, no recorded run)
littlepure2333/APE/model/swinir_ape.py
pointer only (licence: NONE) · get_code("c360863fc4569772")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, littlepure2333/APE when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

SwinIR Not yet run
unverified (harvested, no recorded run)
littlepure2333/APE/model/swinir_ape.py
pointer only (licence: NONE) · get_code("f390c6e387d560fd")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, littlepure2333/APE when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

SwinTransformerBlock Not yet run
unverified (harvested, no recorded run)
littlepure2333/APE/model/swinir_ape.py
pointer only (licence: NONE) · get_code("55a5055bb235b697")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, littlepure2333/APE when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

WindowAttention Not yet run
unverified (harvested, no recorded run)
littlepure2333/APE/model/swinir_ape.py
pointer only (licence: NONE) · get_code("fabc3c0b8a7bedc7")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, littlepure2333/APE when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Also present in other papers' code

Of 13 samples lifted from this paper's linked repositories, 13 carry a function identity and 0 do not. Of the 13 distinct functions with an identity, 12 are also present in other papers whose code we hold (12 with at least one paper dated earlier, 2 the same month, 8 later) and 1 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
drop_path
brick of this paper's assembly: helper
224 other papers
26 dated earlier, 7 the same month, 188 later, 2 same year, order not determinable, 1 undated · 38 only as an assembly brick
2003.12039 (2020-03)
RAFT: Recurrent All-Pairs Field Transforms for Optical Flow
2007.09384 (2020-07)
Multi-Scale Positive Sample Refinement for Few-Shot Object Detection
2010.11929 (2020-10)
An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
and 221 more not named here
DropPath
brick of this paper's assembly: helper
47 other papers
5 dated earlier, 1 the same month, 41 later · 33 only as an assembly brick
2003.12039 (2020-03)
RAFT: Recurrent All-Pairs Field Transforms for Optical Flow
2010.11929 (2020-10)
An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
2105.14432 (2021-05)
TransMatcher: Deep Image Matching Through Transformers for Generalizable Person Re-identification
and 44 more not named here
window_partition
brick of this paper's assembly: helper
12 other papers
1 dated earlier, 11 later · 1 only as an assembly brick
2108.10257 (2021-08)
SwinIR: Image Restoration Using Swin Transformer
2302.03453 (2023-02)
OSRT: Omnidirectional Image Super-Resolution with Distortion-aware Transformer
and 9 more not named here
window_reverse
brick of this paper's assembly: helper
11 other papers
1 dated earlier, 10 later · 1 only as an assembly brick
2108.10257 (2021-08)
SwinIR: Image Restoration Using Swin Transformer
2302.03453 (2023-02)
OSRT: Omnidirectional Image Super-Resolution with Distortion-aware Transformer
and 8 more not named here
Upsample
brick of this paper's assembly: model
10 other papers
3 dated earlier, 7 later · 7 only as an assembly brick
2103.14030 (2021-03)
Swin Transformer: Hierarchical Vision Transformer using Shifted Windows
2108.10257 (2021-08)
SwinIR: Image Restoration Using Swin Transformer
2111.12341 (2021-11)
EvDistill: Asynchronous Events to End-task Learning via Bidirectional Reconstruction-guided Cross-modal Knowledge Distillation
and 7 more not named here
UpsampleOneStep
brick of this paper's assembly: helper
3 other papers
1 dated earlier, 2 later · 3 only as an assembly brick
2108.10257 (2021-08)
SwinIR: Image Restoration Using Swin Transformer
2308.03364 (2023-08)
Dual Aggregation Transformer for Image Super-Resolution
2403.01598 (2024-03)
APISR: Anime Production Inspired Real-World Anime Super-Resolution
PatchEmbed
brick of this paper's assembly: helper
2 other papers
1 dated earlier, 1 later
2108.10257 (2021-08)
SwinIR: Image Restoration Using Swin Transformer
2210.01427 (2022-10)
Accurate Image Restoration with Attention Retractable Transformer
PatchUnEmbed
brick of this paper's assembly: helper
2 other papers
1 dated earlier, 1 later
2108.10257 (2021-08)
SwinIR: Image Restoration Using Swin Transformer
2210.01427 (2022-10)
Accurate Image Restoration with Attention Retractable Transformer
BasicLayer
brick of this paper's assembly: model
1 other paper
1 dated earlier
2108.10257 (2021-08)
SwinIR: Image Restoration Using Swin Transformer
RSTB
brick of this paper's assembly: model
1 other paper
1 dated earlier
2108.10257 (2021-08)
SwinIR: Image Restoration Using Swin Transformer
SwinTransformerBlock
brick of this paper's assembly: model
1 other paper
1 dated earlier
2108.10257 (2021-08)
SwinIR: Image Restoration Using Swin Transformer
WindowAttention
brick of this paper's assembly: model
1 other paper
1 dated earlier
2108.10257 (2021-08)
SwinIR: Image Restoration Using Swin Transformer

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-23.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Since the future of computing is heterogeneous, scalability is a crucial problem for single image super-resolution. Recent works try to train one network, which can be deployed on platforms with different capacities. However, they rely on the pixel-wise sparse convolution, which is not hardware-friendly and achieves limited practical speedup. As image can be divided into patches, which have various restoration difficulties, we present a scalable method based on Adaptive Patch Exiting (APE) to achieve more practical speedup. Specifically, we propose to train a regressor to predict the incremental capacity of each layer for the patch. Once the incremental capacity is below the threshold, the patch can exit at the specific layer. Our method can easily adjust the trade-off between performance and efficiency by changing the threshold of incremental capacity. Furthermore, we propose a novel strategy to enable the network training of our method. We conduct extensive experiments across various backbones, datasets and scaling factors to demonstrate the advantages of our method. Code is available at https://github.com/littlepure2333/APE.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2203.11589")
get_code_for_paper("2203.11589")
have("2203.11589")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2203.11589.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2203.11589.svg)](https://syntology.ai/paper/2203.11589)

Connect an agent — have() is free.