SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2103.13258 · CVPR · 2021

Dynamic Slimmable Network

Xiaojun Chang, Xiaodan Liang, Bing Wang, Guangrun Wang, Changlin Li, Zhihui Li

arXiv · PDF · Open in the Atlas

Code that ran

7 of 17 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 1 honoured the contract we drafted, 0 violated it and 4 have no contract verdict; 2 failures of our instrument; 10 no recorded run), measured 2026-11-22; 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/2103.13258.json · badge: /api/ran/2103.13258.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
changlin31/DS-Net marked official in Papers with Code
Papers with Code archive
7 ran · 10 no recorded run
FunctionStatusWhere it lives
DSAdaptiveAvgPool2d Ran
ran on a synthesized input
changlin31/DS-Net/dyn_slim/models/dyn_slim_net.py
pointer only (licence: NONE) · get_code("5bd24c876f2a520e")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, changlin31/DS-Net 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.

DSAvgPool2d Ran
ran on a synthesized input
changlin31/DS-Net/dyn_slim/models/dyn_slim_net.py
pointer only (licence: NONE) · get_code("6741cb2067254f42")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, changlin31/DS-Net 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.

DSConv2d Ran
ran on a synthesized input
changlin31/DS-Net/dyn_slim/models/dyn_slim_net.py
pointer only (licence: NONE) · get_code("f87f13d283307a0c")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, changlin31/DS-Net 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.

DSpwConv2d Ran
ran on a synthesized input
changlin31/DS-Net/dyn_slim/models/dyn_slim_net.py
pointer only (licence: NONE) · get_code("62349f38e2e10903")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, changlin31/DS-Net 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)
changlin31/DS-Net/dyn_slim/models/dyn_slim_net.py
pointer only (licence: NONE) · get_code("a86440e38234fea6")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, changlin31/DS-Net 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.

gumbel_softmax Ran
ran; our contract draft was wrong, not the code
changlin31/DS-Net/dyn_slim/models/dyn_slim_net.py
pointer only (licence: NONE) · get_code("a385ad93fbda3711")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, changlin31/DS-Net 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.

make_divisible Ran
ran, honoured the contract we drafted
changlin31/DS-Net/dyn_slim/models/dyn_slim_net.py
pointer only (licence: NONE) · get_code("5b2c72c30130d62a")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, changlin31/DS-Net 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.

DSBatchNorm2d Not yet run
unverified (harvested, no recorded run)
changlin31/DS-Net/dyn_slim/models/dyn_slim_net.py
pointer only (licence: NONE) · get_code("cb0d38743570df22")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, changlin31/DS-Net 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.

DSDepthwiseSeparable Not yet run
unverified (harvested, no recorded run)
changlin31/DS-Net/dyn_slim/models/dyn_slim_net.py
pointer only (licence: NONE) · get_code("7b461affe61c6107")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, changlin31/DS-Net 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.

DSInvertedResidual Not yet run
unverified (harvested, no recorded run)
changlin31/DS-Net/dyn_slim/models/dyn_slim_net.py
pointer only (licence: NONE) · get_code("712da76f69049631")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, changlin31/DS-Net 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.

DSLinear Not yet run
unverified (harvested, no recorded run)
changlin31/DS-Net/dyn_slim/models/dyn_slim_net.py
pointer only (licence: NONE) · get_code("183fb0ba92c58751")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, changlin31/DS-Net 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.

DSNet Not yet run
unverified (harvested, no recorded run)
changlin31/DS-Net/dyn_slim/models/dyn_slim_net.py
pointer only (licence: NONE) · get_code("5e7e8474749b7a63")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, changlin31/DS-Net 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.

DSStage Not yet run
unverified (harvested, no recorded run)
changlin31/DS-Net/dyn_slim/models/dyn_slim_net.py
pointer only (licence: NONE) · get_code("5d30f606578e8871")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, changlin31/DS-Net 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.

DSdwConv2d Not yet run
unverified (harvested, no recorded run)
changlin31/DS-Net/dyn_slim/models/dyn_slim_net.py
pointer only (licence: NONE) · get_code("e6fc22bbfc4c8edf")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, changlin31/DS-Net 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.

MultiHeadGate Not yet run
unverified (harvested, no recorded run)
changlin31/DS-Net/dyn_slim/models/dyn_slim_net.py
pointer only (licence: NONE) · get_code("4907ed2eb06578b4")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, changlin31/DS-Net 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.

apply_differentiable_gate_channel Not yet run
unverified (harvested, no recorded run)
changlin31/DS-Net/dyn_slim/models/dyn_slim_net.py
pointer only (licence: NONE) · get_code("5b52cc50d4717222")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, changlin31/DS-Net 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.

set_exist_attr Not yet run
unverified (harvested, no recorded run)
changlin31/DS-Net/dyn_slim/models/dyn_slim_net.py
pointer only (licence: NONE) · get_code("87214df03908dc48")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, changlin31/DS-Net 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 17 samples lifted from this paper's linked repositories, 17 carry a function identity and 0 do not. Of the 17 distinct functions with an identity, 1 are also present in other papers whose code we hold (1 with at least one paper dated earlier, 0 the same month, 1 later) and 16 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
make_divisible
brick of this paper's assembly: helper
5 other papers
1 dated earlier, 4 later
1702.01105 (2017-02)
Joint 2D-3D-Semantic Data for Indoor Scene Understanding
2107.00644 (2021-07)
Stabilizing Deep Q-Learning with ConvNets and Vision Transformers under Data Augmentation
Guo_Improving_Robustness_of_Vision_Transformers_by_Reducing_Sensitivity_To_Patch_CVPR_2023_paper (2023 (year only))
Improving Robustness of Vision Transformers by Reducing Sensitivity to Patch Corruptions
and 2 more not named here

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-22.

Repositories linked to this paper

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

Abstract

Current dynamic networks and dynamic pruning methods have shown their promising capability in reducing theoretical computation complexity. However, dynamic sparse patterns on convolutional filters fail to achieve actual acceleration in real-world implementation, due to the extra burden of indexing, weight-copying, or zero-masking. Here, we explore a dynamic network slimming regime, named Dynamic Slimmable Network (DS-Net), which aims to achieve good hardware-efficiency via dynamically adjusting filter numbers of networks at test time with respect to different inputs, while keeping filters stored statically and contiguously in hardware to prevent the extra burden. Our DS-Net is empowered with the ability of dynamic inference by the proposed double-headed dynamic gate that comprises an attention head and a slimming head to predictively adjust network width with negligible extra computation cost. To ensure generality of each candidate architecture and the fairness of gate, we propose a disentangled two-stage training scheme inspired by one-shot NAS. In the first stage, a novel training technique for weight-sharing networks named In-place Ensemble Bootstrapping is proposed to improve the supernet training efficacy. In the second stage, Sandwich Gate Sparsification is proposed to assist the gate training by identifying easy and hard samples in an online way. Extensive experiments demonstrate our DS-Net consistently outperforms its static counterparts as well as state-of-the-art static and dynamic model compression methods by a large margin (up to 5.9%). Typically, DS-Net achieves 2-4× computation reduction and 1.62× real-world acceleration over ResNet-50 and MobileNet with minimal accuracy drops on ImageNet. 1

For agents

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

get_harvested_code_for_paper("2103.13258")
get_code_for_paper("2103.13258")
have("2103.13258")

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

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

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

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

Connect an agent — have() is free.