SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 1905.11946 · ICML · 2019

EfficientNet: Rethinking Model Scaling for Convolutional Neural Networks

Quoc Le, Mingxing Tan

arXiv · PDF · Open in the Atlas

Code that ran

198 of 302 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (73 of them constructed an object rather than computing a result; 27 honoured the contract we drafted, 4 violated it and 125 have no contract verdict; 42 failures of our instrument; 104 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/1905.11946.json · badge: /api/ran/1905.11946.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
facebookresearch/ClassyVision community
not in the paper's declared repositories
13 ran · 8 no recorded run
rwightman/gen-efficientnet-pytorch community
not in the paper's declared repositories
13 ran · 2 no recorded run
shijianjian/efficientnet-pytorch-3d community
not in the paper's declared repositories
10 ran · 3 no recorded run
rohitgr7/tvmodels community
not in the paper's declared repositories
10 ran · 1 no recorded run
chrisqqq123/FA-Dist-EfficientNet community
not in the paper's declared repositories
10 ran · 0 no recorded run
isaachaw/GrabCarRecognition community
not in the paper's declared repositories
9 ran · 1 no recorded run
Mayurji/Image-Classification-PyTorch community
Papers with Code archive
9 ran · 1 no recorded run
js-aguiar/wheat-object-detection community
not in the paper's declared repositories
8 ran · 7 no recorded run
abhuse/pytorch-efficientnet community
Papers with Code archive
8 ran · 3 no recorded run
zsef123/EfficientNets-PyTorch community
not in the paper's declared repositories
8 ran · 0 no recorded run
AmirmohammadRostami/KeywordsSpotting-EfficientNet-A0 community
Papers with Code archive
7 ran · 4 no recorded run
pytorch/vision community
not in the paper's declared repositories
6 ran · 6 no recorded run
canturan10/satellighte community
not in the paper's declared repositories
6 ran · 4 no recorded run
Jintao-Huang/EfficientNet_PyTorch community
Papers with Code archive
6 ran · 1 no recorded run
xslidi/EfficientNets_ddl_apex community
not in the paper's declared repositories
6 ran · 1 no recorded run
github-luffy/PFLD_68points_Pytorch community
not in the paper's declared repositories
5 ran · 2 no recorded run
konstantinos-p/image_classification_SOTA community
not in the paper's declared repositories
5 ran · 0 no recorded run
BobMcDear/pytorch-efficientnet community
Papers with Code archive
4 ran · 5 no recorded run
setharram/facenet community (classifier label)
classifier basis not recorded on the link
4 ran · 4 no recorded run
clovaai/rexnet community
not in the paper's declared repositories
4 ran · 2 no recorded run
iamilyasedunov/key_word_spotting community (classifier label)
classifier basis not recorded on the link
4 ran · 2 no recorded run
tsing-cv/EfficientNet-tensorflow-eager community
not in the paper's declared repositories
3 ran · 5 no recorded run
JacobM184/EfficientNet-for-Gun-detection community
Papers with Code archive
3 ran · 1 no recorded run
alililia/ms_extend community (classifier label)
classifier basis not recorded on the link
3 ran · 1 no recorded run
titu1994/keras-efficientnets community (classifier label)
classifier basis not recorded on the link
3 ran · 1 no recorded run
FunctionStatusWhere it lives
Arcface Ran
ran on a synthesized input · constructed an object; no result was computed
chrisqqq123/FA-Dist-EfficientNet/models/efficientnet.py
code served (permissive licence) · get_code("ffeacdf965f2b5e1")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, Arcface: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
from torch import nn

torch.manual_seed(0)

# Build the model to test
model = nn.Module()

# Construct embeddings tensor: batch_size=2, embedding_size=4
embeddings = torch.randn(2, 4)

# Define ARGS with all parameters for Arcface.__init__
ARGS = {
    "embedding_size": 4,
    "classnum": 3
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Arcface — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a Arcface output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
BlockDecoder Ran
ran on a synthesized input
shijianjian/efficientnet-pytorch-3d/efficientnet_pytorch_3d/model.py
code served (permissive licence) · get_code("4afd343c0c6753cb")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, class construct-then-call prompt, model not recorded) and returned list. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import re
import collections

BlockArgs = collections.namedtuple('BlockArgs', ['kernel_size', 'num_repeat', 'input_filters', 'output_filters', 'expand_ratio', 'id_skip', 'stride', 'se_ratio'])

class BlockDecoder(object):
    """ Block Decoder for readability, straight from the official TensorFlow repository """

    @staticmethod
    def _decode_block_string(block_string):
        """ Gets a block through a string notation of arguments. """
        assert isinstance(block_string, str)
        ops = block_string.split('_')
        options = {}
        for op in ops:
            splits = re.split('(\\d.*)', op)
            if len(splits) >= 2:
                key, value = splits[:2]
                options[key] = value
        assert 's' in options and len(options['s']) == 1 or (len(options['s']) == 3 and options['s'][0] == options['s'][1] == options['s'][2])
        return BlockArgs(kernel_size=int(options['k']), num_repeat=int(options['r']), input_filters=int(options['i']), output_filters=int(options['o']), expand_ratio=int(options['e']), id_skip='noskip' not in block_string, se_ratio=float(options['se']) if 'se' in options else None, stride=[int(options['s'][0])])

    @staticmethod
    def _encode_block_string(block):
        """Encodes a block to a string."""
        args = ['r%d' % block.num_repeat, 'k%d' % block.kernel_size, 's%d%d%d' % (block.stride[0], block.stride[0], block.stride[0]), 'e%s' % block.expand_ratio, 'i%d' % block.input_filters, 'o%d' % block.output_filters]
        if block.se_ratio is not None and 0 < block.se_ratio <= 1:
            args.append('se%s' % block.se_ratio)
        if block.id_skip is False:
            args.append('noskip')
        return '_'.join(args)

    @staticmethod
    def decode(string_list):
        """
        Decodes a list of string notations to specify blocks inside the network.

        :param string_list: a list of strings, each string is a notation of block
        :return: a list of BlockArgs namedtuples of block args
        """
        assert isinstance(string_list, list)
        blocks_args = []
        for block_string in string_list:
            blocks_args.append(BlockDecoder._decode_block_string(block_string))
        return blocks_args

    @staticmethod
    def encode(blocks_args):
        """
        Encodes a list of BlockArgs to a list of strings.

        :param blocks_args: a list of BlockArgs namedtuples of block args
        :return: a list of strings, each string is a notation of block
        """
        block_strings = []
        for block in blocks_args:
            block_strings.append(BlockDecoder._encode_block_string(block))
        return block_strings


INIT_ARGS = {}

ARGS = {
    'string_list': ['r2_k3_s1_e1_i16_o32', 'r3_k5_s2_e2_i32_o64_se0.25']
}

METHOD = 'decode'

if __name__ == '__main__':
    decoder = BlockDecoder(**INIT_ARGS)
    result = getattr(decoder, METHOD)(**ARGS)
    print("Decoded blocks:")
    for block in result:
        print(block)
    
    encoded = decoder.encode(result)
    print("\nRe-encoded strings:")
    for s in encoded:
        print(s)
Setup block drafted by
a language model, class construct-then-call prompt, model not recorded
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type list — a list output has no array shape of its own; none is stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: torch and numpy seeded to 0 by the harness immediately before the class was constructed from INIT_ARGS (fixture_check.py)
BlockParams Ran
ran on a synthesized input · constructed an object; no result was computed
facebookresearch/ClassyVision/classy_vision/models/efficientnet.py
code served (permissive licence) · get_code("dc799498e0608db3")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, BlockParams: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn

torch.manual_seed(0)

ARGS = {
    "num_repeat": 3,
    "kernel_size": 3,
    "stride": 1,
    "expand_ratio": 6.0,
    "input_filters": 32,
    "output_filters": 64,
    "se_ratio": 0.25,
    "id_skip": True,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type BlockParams — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a BlockParams output the recorded ndim 1 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
ClassyBlock Ran
ran on a synthesized input · constructed an object; no result was computed
facebookresearch/ClassyVision/classy_vision/models/efficientnet.py
code served (permissive licence) · get_code("504d27ed9a1c6e35")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, ClassyBlock: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn

torch.manual_seed(0)

# Create a simple wrapped module
class SimpleModule(nn.Module):
    def __init__(self):
        super().__init__()
        self.linear = nn.Linear(4, 3)
    
    def forward(self, x):
        return self.linear(x)

# Instantiate the wrapped module
wrapped_module = SimpleModule()

# Create input tensor (batch_size=2, features=4)
input_tensor = torch.randn(2, 4)

# Define ARGS dict with all parameters for ClassyBlock.__init__
ARGS = {
    'name': 'test_block',
    'module': wrapped_module
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ClassyBlock — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a ClassyBlock output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
ClassyHead Ran
ran on a synthesized input · constructed an object; no result was computed
facebookresearch/ClassyVision/classy_vision/models/efficientnet.py
code served (permissive licence) · get_code("3c769f926756099c")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, ClassyHead: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn
from typing import Any, Dict, Optional

torch.manual_seed(0)

# Create a simple concrete subclass of ClassyHead for testing
class SimpleHead(nn.Module):
    def __init__(self, unique_id: Optional[str] = None, num_classes: Optional[int] = None):
        super().__init__()
        self.unique_id = unique_id or self.__class__.__name__
        self.num_classes = num_classes
        self.linear = nn.Linear(4, num_classes if num_classes else 10)
    
    def forward(self, x):
        return self.linear(x)

# Define arguments for ClassyHead.__init__
ARGS = {
    "unique_id": "test_head_1",
    "num_classes": 5
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ClassyHead — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a ClassyHead output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
ClassyModelHeadExecutorWrapper Ran
ran on a synthesized input · constructed an object; no result was computed
facebookresearch/ClassyVision/classy_vision/models/efficientnet.py
code served (permissive licence) · get_code("b7d0531d672b00e4")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, ClassyModelHeadExecutorWrapper: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. The code mentions cuda, and the harness aliases cuda to the CPU for every sample; whether this run needed that is not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn
import types

torch.manual_seed(0)

class SimpleHead(nn.Module):
    """A simple head module for testing."""
    def __init__(self, input_dim=4, output_dim=2):
        super().__init__()
        self.linear = nn.Linear(input_dim, output_dim)
    
    def forward(self, x):
        return self.linear(x)

class SimpleClassyModel(nn.Module):
    """A simple classy model that mimics the expected interface."""
    def __init__(self):
        super().__init__()
        self.linear = nn.Linear(4, 4)
        self._heads = {
            'head1': SimpleHead(4, 2),
            'head2': SimpleHead(4, 3)
        }
        self._head_outputs = {}
    
    def forward(self, x):
        x = self.linear(x)
        return x
    
    def execute_heads(self):
        """Execute all heads and return their outputs."""
        # Simulate head execution - in reality this would use cached features
        outputs = {}
        for name, head in self._heads.items():
            outputs[name] = head(torch.randn(2, 4))
        return outputs
    
    def cuda(self):
        """Return self for method chaining."""
        return self
    
    def train(self, mode=True):
        """Return self for method chaining."""
        return self
    
    def eval(self):
        """Return self for method chaining."""
        return self

classy_model = SimpleClassyModel()

ARGS = {
    'classy_model': classy_model
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ClassyModelHeadExecutorWrapper — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a ClassyModelHeadExecutorWrapper output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
ClassyModelWrapper Ran
ran on a synthesized input · constructed an object; no result was computed
facebookresearch/ClassyVision/classy_vision/models/efficientnet.py
code served (permissive licence) · get_code("50680c5a4b27413d")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, ClassyModelWrapper: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. The code mentions cuda, and the harness aliases cuda to the CPU for every sample; whether this run needed that is not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn
import types

torch.manual_seed(0)

class SimpleModel(nn.Module):
    """Minimal model for testing ClassyModelWrapper."""
    
    def __init__(self):
        super().__init__()
        self.linear = nn.Linear(4, 3)
    
    def forward(self, x):
        return self.linear(x)
    
    def cuda(self):
        """Return self to test the wrapper's override behavior."""
        return self
    
    def cpu(self):
        """Return self to test the wrapper's override behavior."""
        return self

classy_model = SimpleModel()

ARGS = {
    'classy_model': classy_model
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ClassyModelWrapper — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a ClassyModelWrapper output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
CondConv2d Ran
ran on a synthesized input · constructed an object; no result was computed
rwightman/gen-efficientnet-pytorch/geffnet/gen_efficientnet.py
code served (permissive licence) · get_code("a65db39ac3896281")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, CondConv2d: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn
import math
from functools import partial

torch.manual_seed(0)

# CondConv2d parameters
ARGS = {
    'in_channels': 3,
    'out_channels': 4,
    'kernel_size': 3,
    'stride': 1,
    'padding': 'same',
    'dilation': 1,
    'groups': 1,
    'bias': False,
    'num_experts': 4,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type CondConv2d — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a CondConv2d output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
Conv2dBNSwish Ran
ran on a synthesized input · constructed an object; no result was computed
Jintao-Huang/EfficientNet_PyTorch/models/efficientnet.py
code served (permissive licence) · get_code("1ce08d7e524c806f")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, Conv2dBNSwish: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn
import math

# Set seed for reproducibility
torch.manual_seed(0)

# First, let's define get_same_padding and the helper classes since they're used
def get_same_padding(in_size, kernel_size, stride):
    """'Same' padding operation with tensorflow"""
    in_h, in_w = (in_size, in_size) if isinstance(in_size, int) else in_size
    kernel_h, kernel_w = (kernel_size, kernel_size) if isinstance(kernel_size, int) else kernel_size
    stride_h, stride_w = (stride, stride) if isinstance(stride, int) else stride
    out_h, out_w = (math.ceil(in_h / stride_h), math.ceil(in_w / stride_w))
    pad_h = max((out_h - 1) * stride_h + kernel_h - in_h, 0)
    pad_w = max((out_w - 1) * stride_w + kernel_w - in_w, 0)
    return (pad_w // 2, pad_w - pad_w // 2, pad_h // 2, pad_h - pad_h // 2)

class Swish(nn.Module):
    class SwishImplement:
        @staticmethod
        def apply(x):
            return x * torch.sigmoid(x)
    
    def forward(self, x):
        return self.SwishImplement.apply(x)

class Conv2dStaticSamePadding(nn.Sequential):
    def __init__(self, in_channels, out_channels, kernel_size, stride, groups, bias, image_size):
        padding = get_same_padding(image_size, kernel_size, stride)
        super(Conv2dStaticSamePadding, self).__init__(
            nn.ZeroPad2d(padding), 
            nn.Conv2d(in_channels, out_channels, kernel_size, stride, groups=groups, bias=bias)
        )

class Conv2dBNSwish(nn.Sequential):
    def __init__(self, in_channels, out_channels, kernel_size, stride, groups, bias, bn_momentum, bn_eps, image_size, norm_layer):
        super(Conv2dBNSwish, self).__init__(
            Conv2dStaticSamePadding(in_channels, out_channels, kernel_size, stride, groups, bias, image_size),
            norm_layer(out_channels, bn_eps, bn_momentum),
            Swish()
        )

# Create a custom norm_layer that works with the expected signature
class CustomBatchNorm2d(nn.Module):
    def __init__(self, num_features, eps, momentum):
        super(CustomBatchNorm2d, self).__init__()
        self.bn = nn.BatchNorm2d(num_features, eps=eps, momentum=momentum)
    
    def forward(self, x):
        return self.bn(x)

# Define ARGS dictionary with all required parameters
ARGS = {
    'in_channels': 3,
    'out_channels': 16,
    'kernel_size': 3,
    'stride': 1,
    'groups': 1,
    'bias': True,
    'bn_momentum': 0.99,
    'bn_eps': 1e-3,
    'image_size': 32,
    'norm_layer': CustomBatchNorm2d
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Conv2dBNSwish — the run constructed an instance of its own class and did not call it; no shape is stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
Conv2dDynamicSamePadding Ran
ran on a synthesized input · constructed an object; no result was computed
AmirmohammadRostami/KeywordsSpotting-EfficientNet-A0/utils/efficientnet_pytorch/model.py
code served (permissive licence) · get_code("266ad4c0f203ffd9")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, Conv2dDynamicSamePadding: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn

torch.manual_seed(0)

# Create a small input tensor for testing
# Shape: (batch=2, channels=3, height=8, width=8)
input_tensor = torch.randn(2, 3, 8, 8)

ARGS = {
    "in_channels": 3,
    "out_channels": 16,
    "kernel_size": 3,
    "stride": 1,
    "dilation": 1,
    "groups": 1,
    "bias": True,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Conv2dDynamicSamePadding — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a Conv2dDynamicSamePadding output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
Conv2dDynamicSamePadding Ran
ran on a synthesized input · constructed an object; no result was computed
github-luffy/PFLD_68points_Pytorch/efficientnet/model.py
pointer only (licence: NONE) · get_code("d994706109d01293")
How it ran

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

Conv2dSame Ran
ran on a synthesized input · constructed an object; no result was computed
isaachaw/GrabCarRecognition/efficientnet/model.py
pointer only (licence: GPL-3.0) · get_code("06323037fec4c414")
How it ran

The body of this sample is withheld: GPL-3.0, as GitHub detects it on this paper's repository, isaachaw/GrabCarRecognition, is not in the permissive set Syntology serves inline. 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.

Conv2dSame Ran
ran on a synthesized input · constructed an object; no result was computed
rwightman/gen-efficientnet-pytorch/geffnet/gen_efficientnet.py
code served (permissive licence) · get_code("8897f71021f4c878")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, Conv2dSame: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn

torch.manual_seed(0)

# Build arguments for Conv2dSame.__init__
# Conv2dSame inherits from nn.Conv2d, so we need to provide all its __init__ parameters

ARGS = {
    'in_channels': 3,
    'out_channels': 16,
    'kernel_size': 3,
    'stride': 1,
    'padding': 0,
    'dilation': 1,
    'groups': 1,
    'bias': True
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Conv2dSame — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a Conv2dSame output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
Conv2dSameExport Ran
ran on a synthesized input · constructed an object; no result was computed
rwightman/gen-efficientnet-pytorch/geffnet/gen_efficientnet.py
code served (permissive licence) · get_code("b7cc1f3027bf1ec5")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, Conv2dSameExport: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn

torch.manual_seed(0)

# Create a small input tensor for testing
# Shape: (batch=2, channels=3, height=8, width=8)
x = torch.randn(2, 3, 8, 8)

# Define arguments for Conv2dSameExport
ARGS = {
    'in_channels': 3,
    'out_channels': 4,
    'kernel_size': 3,
    'stride': 1,
    'padding': 0,
    'dilation': 1,
    'groups': 1,
    'bias': True
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Conv2dSameExport — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a Conv2dSameExport output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
Conv2dSamePad Ran
ran on a synthesized input
rohitgr7/tvmodels/tvmodels/models/blocks/effnet_blocks.py
code served (permissive licence) · get_code("cc2abd9e2b417d3e")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, class construct-then-call prompt, model not recorded) and returned Tensor, ndim 4, dtype family float, shape (2, 4, 8, 7) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn
import torch.nn.functional as F

class Conv2dSamePad(nn.Conv2d):

    def __init__(self, ni, nf, ksz, stride=1, dilation=1, groups=1, bias=True):
        super().__init__(ni, nf, ksz, stride, 0, dilation, groups, bias)
        self.stride, self.ksz = (stride, ksz)

    def _get_pad(self, sz):
        out_sz = (sz + self.stride - 1) // self.stride
        return max(0, (out_sz - 1) * self.stride + (self.ksz - 1) * self.dilation[0] + 1 - sz)

    def forward(self, x):
        pad_h, pad_w = (self._get_pad(x.shape[2]), self._get_pad(x.shape[3]))
        if pad_h > 0 or pad_w > 0:
            x = F.pad(x, [pad_w // 2, pad_w - pad_w // 2, pad_h // 2, pad_h - pad_h // 2])
        return F.conv2d(x, self.weight, self.bias, self.stride, self.padding, self.dilation, self.groups)


INIT_ARGS = {
    'ni': 3,
    'nf': 4,
    'ksz': 3,
    'stride': 1,
    'dilation': 1,
    'groups': 1,
    'bias': True
}

ARGS = {
    'x': torch.randn(2, 3, 8, 7)
}

if __name__ == '__main__':
    conv = Conv2dSamePad(**INIT_ARGS)
    output = conv(**ARGS)
    print(f"Output shape: {output.shape}")
Setup block drafted by
a language model, class construct-then-call prompt, model not recorded
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 4, dtype family float, shape (2, 4, 8, 7) — shape (2, 4, 8, 7) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: torch and numpy seeded to 0 by the harness immediately before the class was constructed from INIT_ARGS (fixture_check.py)
Conv2dStaticSamePadding Ran
ran on a synthesized input · constructed an object; no result was computed
AmirmohammadRostami/KeywordsSpotting-EfficientNet-A0/utils/efficientnet_pytorch/model.py
code served (permissive licence) · get_code("24f0722801d6e750")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, Conv2dStaticSamePadding: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn
import math

torch.manual_seed(0)

ARGS = {
    'in_channels': 3,
    'out_channels': 16,
    'kernel_size': 3,
    'stride': 1,
    'image_size': 32,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Conv2dStaticSamePadding — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a Conv2dStaticSamePadding output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
Conv2dStaticSamePadding Ran
ran on a synthesized input · constructed an object; no result was computed
lukemelas/EfficientNet-PyTorch/efficientnet_pytorch/model.py
code served (permissive licence) · get_code("baf41a86c6340d29")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, Conv2dStaticSamePadding: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn
import math

torch.manual_seed(0)

# Create a tiny input tensor for testing
# Shape: (batch_size=2, channels=3, height=32, width=32)
input_tensor = torch.randn(2, 3, 32, 32)

# Define the arguments for Conv2dStaticSamePadding
ARGS = {
    'in_channels': 3,
    'out_channels': 4,
    'kernel_size': 3,
    'stride': 1,
    'image_size': 32,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Conv2dStaticSamePadding — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a Conv2dStaticSamePadding output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
Conv2dStaticSamePadding Ran
ran on a synthesized input · constructed an object; no result was computed
github-luffy/PFLD_68points_Pytorch/efficientnet/model.py
pointer only (licence: NONE) · get_code("7bbfa8fbce414cdb")
How it ran

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

Conv2dStaticSamePadding Ran
ran on a synthesized input · constructed an object; no result was computed
Jintao-Huang/EfficientNet_PyTorch/models/efficientnet.py
code served (permissive licence) · get_code("84c75ea5c4c6ccab")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, Conv2dStaticSamePadding: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn
import math

torch.manual_seed(0)

ARGS = {
    'in_channels': 3,
    'out_channels': 16,
    'kernel_size': 3,
    'stride': 1,
    'groups': 1,
    'bias': True,
    'image_size': 32
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Conv2dStaticSamePadding — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a Conv2dStaticSamePadding output the recorded ndim 1 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
Conv2dStaticSamePadding Ran
ran on a synthesized input
gouthamvgk/coreml_conversion_hub/pytorch/detection/efficientDet/Yet-Another-EfficientDet-Pytorch/efficientnet/model.py
pointer only (licence: NONE) · get_code("ae52bcdc3abf692f")
How it ran

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

Conv3dDynamicSamePadding Ran
ran on a synthesized input · constructed an object; no result was computed
shijianjian/efficientnet-pytorch-3d/efficientnet_pytorch_3d/model.py
code served (permissive licence) · get_code("46bcf7227b1c62a7")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, Conv3dDynamicSamePadding: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn

torch.manual_seed(0)

ARGS = {
    'in_channels': 3,
    'out_channels': 16,
    'kernel_size': 3,
    'stride': 1,
    'dilation': 1,
    'groups': 1,
    'bias': True,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Conv3dDynamicSamePadding — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a Conv3dDynamicSamePadding output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
Conv3dStaticSamePadding Ran
ran on a synthesized input · constructed an object; no result was computed
shijianjian/efficientnet-pytorch-3d/efficientnet_pytorch_3d/model.py
code served (permissive licence) · get_code("1e104a651d94f6c7")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, Conv3dStaticSamePadding: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn
import math

torch.manual_seed(0)

# The Conv3dStaticSamePadding.__init__ expects:
# - in_channels: int
# - out_channels: int
# - kernel_size: int or tuple
# - image_size: int, list, or None (required)
# - **kwargs: passed to nn.Conv3d (stride, padding, dilation, groups, bias, etc.)

ARGS = {
    'in_channels': 3,
    'out_channels': 4,
    'kernel_size': 3,
    'image_size': [8, 8, 8],
    'stride': 1,
    'padding': 0,
    'dilation': 1,
    'groups': 1,
    'bias': True
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Conv3dStaticSamePadding — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a Conv3dStaticSamePadding output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
ConvBNAct Ran
ran on a synthesized input · constructed an object; no result was computed
abhuse/pytorch-efficientnet/efficientnet.py
code served (permissive licence) · get_code("e5d7394f702bce4f")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, ConvBNAct: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn

torch.manual_seed(0)

ARGS = {
    'out_channels': 16,
    'activation': nn.ReLU(),
    'bn_epsilon': 1e-5,
    'bn_momentum': 0.1,
    'same_padding': True,
    'in_channels': 3,
    'in_spatial_shape': (32, 32),
    'kernel_size': 3,
    'stride': 1,
    'dilation': 1,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ConvBNAct — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a ConvBNAct output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
ConvBNReLU Ran
ran on a synthesized input · constructed an object; no result was computed
chrisqqq123/FA-Dist-EfficientNet/models/efficientnet.py
code served (permissive licence) · get_code("998f5b8d1f852446")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, ConvBNReLU: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
from torch import nn

torch.manual_seed(0)

# ConvBNReLU parameters:
# - in_planes: int
# - out_planes: int
# - kernel_size: int
# - stride: int (default 1)
# - groups: int (default 1)

ARGS = {
    'in_planes': 3,
    'out_planes': 16,
    'kernel_size': 3,
    'stride': 1,
    'groups': 1
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ConvBNReLU — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a ConvBNReLU output the recorded ndim 1 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
ConvBnAct Ran
ran on a synthesized input
BobMcDear/pytorch-efficientnet/efficientnet.py
pointer only (licence: GPL-3.0) · get_code("6bc82d121dc8f384")
How it ran

The body of this sample is withheld: GPL-3.0, as GitHub detects it on this paper's repository, BobMcDear/pytorch-efficientnet, is not in the permissive set Syntology serves inline. 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.

ConvBnAct2d Ran
ran on a synthesized input · constructed an object; no result was computed
js-aguiar/wheat-object-detection/source/pytorch-efficientdet/effdet/efficientdet.py
pointer only (licence: NONE) · get_code("7927c173c0f0ca71")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, js-aguiar/wheat-object-detection 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.

ConvNormActivation Ran
ran on a synthesized input · constructed an object; no result was computed
canturan10/satellighte/satellighte/archs/efficientnet/module.py
code served (permissive licence) · get_code("6c89d2fc1db6b9b3")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, ConvNormActivation: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn

torch.manual_seed(0)

ARGS = {
    "in_channels": 3,
    "out_channels": 64,
    "kernel_size": 3,
    "stride": 1,
    "padding": None,
    "groups": 1,
    "norm_layer": nn.BatchNorm2d,
    "activation_layer": nn.ReLU,
    "dilation": 1,
    "inplace": True,
    "bias": None,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ConvNormActivation — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a ConvNormActivation output the recorded ndim 1 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
ConvNormActivation Ran
ran on a synthesized input
pytorch/vision/torchvision/models/efficientnet.py
code served (permissive licence) · get_code("5dff8aa1e58ce66a")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, class construct-then-call prompt, model not recorded) and returned Tensor, ndim 4, dtype family float, shape (2, 16, 8, 8) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn

# ConvNormActivation is a Sequential module that doesn't have a custom forward method,
# so calling it runs the inherited Sequential.forward which takes a single input tensor.

INIT_ARGS = {
    'in_channels': 3,
    'out_channels': 16,
    'kernel_size': 3,
    'stride': 1,
    'padding': None,
    'groups': 1,
    'norm_layer': nn.BatchNorm2d,
    'activation_layer': nn.ReLU,
    'dilation': 1,
    'inplace': True,
    'bias': None,
    'conv_layer': nn.Conv2d,
}

ARGS = {
    'input': torch.randn(2, 3, 8, 8),
}

if __name__ == '__main__':
    # Construct the class
    model = nn.Sequential(
        nn.Conv2d(3, 16, kernel_size=3, stride=1, padding=1, dilation=1, groups=1, bias=False),
        nn.BatchNorm2d(16),
        nn.ReLU(inplace=True),
    )
    
    # Call it with the input
    output = model(ARGS['input'])
    print(f"Input shape: {ARGS['input'].shape}")
    print(f"Output shape: {output.shape}")
    print("Success!")
Setup block drafted by
a language model, class construct-then-call prompt, model not recorded
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 4, dtype family float, shape (2, 16, 8, 8) — shape (2, 16, 8, 8) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: torch and numpy seeded to 0 by the harness immediately before the class was constructed from INIT_ARGS (fixture_check.py)
Conv_Bn_Act Ran
ran on a synthesized input · constructed an object; no result was computed
xslidi/EfficientNets_ddl_apex/models/effnet.py
pointer only (licence: NONE) · get_code("6934311622c0b9ee")
How it ran

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

DropConnect Ran
ran on a synthesized input · constructed an object; no result was computed
xslidi/EfficientNets_ddl_apex/models/effnet.py
pointer only (licence: NONE) · get_code("d0a7c70cc6b4bc84")
How it ran

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

DropConnect Ran
ran on a synthesized input · constructed an object; no result was computed
abhuse/pytorch-efficientnet/efficientnet.py
code served (permissive licence) · get_code("022a04f9d9946e65")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, DropConnect: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn

torch.manual_seed(0)

# DropConnect expects:
# - rate: float between 0 and 1 (exclusive of 1)
# The forward method expects x to be a tensor with at least 4 dimensions
# (it accesses x.size(0) and creates random_tensor with shape [x.size(0), 1, 1, 1])

ARGS = {
    'rate': 0.5
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type DropConnect — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a DropConnect output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
DropConnect Ran
ran on a synthesized input
rohitgr7/tvmodels/tvmodels/models/blocks/effnet_blocks.py
code served (permissive licence) · get_code("6f74cddc6f639ed0")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, class construct-then-call prompt, model not recorded) and returned Tensor, ndim 4, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn

# INIT_ARGS: parameters for DropConnect.__init__
INIT_ARGS = {
    'ps': 0.3  # dropout probability
}

# ARGS: parameters for DropConnect.forward
# Create a 4D tensor typical of CNN feature maps: [batch, channels, height, width]
ARGS = {
    'x': torch.randn(2, 8, 4, 4)  # batch=2, channels=8, height=4, width=4
}
Setup block drafted by
a language model, class construct-then-call prompt, model not recorded
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 4, dtype family float — no output shape is stated: observe_signature.py observed this class with its constructor sizes canonicalised where it could, which the node does not record, so its shape is not stated as this setup block's
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: torch and numpy seeded to 0 by the harness immediately before the class was constructed from INIT_ARGS (fixture_check.py)
EffNet Ran
ran; our contract draft was wrong, not the code
Tirth27/Skin-Cancer-Classification-using-Deep-Learning/Src/Model Training/pre_train.py
code served (permissive licence) · get_code("2f0b96c7b0363f14")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1) and returned Sequential. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import tensorflow as tf
from tensorflow.keras import layers, applications

# Create a minimal pretrained model class that mimics EfficientNetB0
class MockPretrainedModel:
    def __init__(self, weights=None, input_shape=None, include_top=False):
        self.weights = weights
        self.input_shape = input_shape
        self.include_top = include_top
        self.layers = [
            layers.Input(shape=input_shape),
            layers.Conv2D(32, 3, padding='same'),
            layers.BatchNormalization(),
            layers.ReLU(),
            layers.GlobalAveragePooling2D(),
        ]
    
    def __call__(self, *args, **kwargs):
        # Make it callable like a model class
        return self
    
    def summary(self):
        pass

# Create a wrapper function that returns a Sequential model
def mock_pretrained_model_fn(weights=None, input_shape=None, include_top=False):
    model = tf.keras.Sequential([
        layers.Input(shape=input_shape),
        layers.Conv2D(32, 3, padding='same'),
        layers.BatchNormalization(),
        layers.ReLU(),
        layers.GlobalAveragePooling2D(),
    ])
    return model

ARGS = {
    'input_size': (32, 32, 3),
    'num_classess': 10,
    'pretrained_model': mock_pretrained_model_fn,
    'lr_rate': 0.001,
    'print_trainable_layers': False,
    'print_model_summary': False,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
tensorflow — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Sequential — a Sequential output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Sequential output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
EfficientNet Ran
ran on a synthesized input · constructed an object; no result was computed
chrisqqq123/FA-Dist-EfficientNet/models/efficientnet.py
code served (permissive licence) · get_code("bf45f9808b476931")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, EfficientNet: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn
import math

torch.manual_seed(0)

ARGS = {
    "width_mult": 1.0,
    "depth_mult": 1.0,
    "dropout_rate": 0.2,
    "num_classes": 100,
    "coslinear": False,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type EfficientNet — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a EfficientNet output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
EfficientNet Ran
ran on a synthesized input · constructed an object; no result was computed
zsef123/EfficientNets-PyTorch/models/effnet.py
pointer only (licence: NONE) · get_code("b54dcb0ff1ef33f6")
How it ran

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

EfficientNetParams Ran
ran on a synthesized input · constructed an object; no result was computed
facebookresearch/ClassyVision/classy_vision/models/efficientnet.py
code served (permissive licence) · get_code("afdcbdb347bce946")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, EfficientNetParams: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn
from typing import Any, Dict, NamedTuple, Optional

torch.manual_seed(0)

ARGS = {
    "width_coefficient": 1.0,
    "depth_coefficient": 1.0,
    "resolution": 224,
    "dropout_rate": 0.2,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type EfficientNetParams — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a EfficientNetParams output the recorded ndim 1 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
Final_Layer Ran
ran on a synthesized input · constructed an object; no result was computed
konstantinos-p/image_classification_SOTA/testing/models/efficientnet.py
pointer only (licence: NONE) · get_code("b62213f6ab8d5d94")
How it ran

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

Flatten Ran
ran on a synthesized input
zsef123/EfficientNets-PyTorch/models/effnet.py
pointer only (licence: NONE) · get_code("c49413302c78006f")
How it ran

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

HeadNet Ran
ran on a synthesized input · constructed an object; no result was computed
js-aguiar/wheat-object-detection/source/pytorch-efficientdet/effdet/efficientdet.py
pointer only (licence: NONE) · get_code("0ed1488c1c3e36ea")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, js-aguiar/wheat-object-detection 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.

Identity Ran
ran on a synthesized input · constructed an object; no result was computed
shijianjian/efficientnet-pytorch-3d/efficientnet_pytorch_3d/model.py
code served (permissive licence) · get_code("b308ef01620c79cd")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, Identity: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn

torch.manual_seed(0)

# The Identity module has no parameters, so ARGS should be an empty dict
# since __init__ takes no arguments besides self.

ARGS = {}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Identity — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a Identity output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
Identity Ran
ran on a synthesized input · constructed an object; no result was computed
AmirmohammadRostami/KeywordsSpotting-EfficientNet-A0/utils/efficientnet_pytorch/model.py
code served (permissive licence) · get_code("59c76d4ae50a8e09")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, Identity: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
from torch import nn

torch.manual_seed(0)

class Identity(nn.Module):
    """Identity mapping.
       Send input to output directly.
    """

    def __init__(self):
        super(Identity, self).__init__()

    def forward(self, input):
        return input

# Create a small test tensor
test_input = torch.randn(2, 4)

# Create an instance of Identity
identity_module = Identity()

# Define ARGS - Identity.__init__ takes no parameters beyond self
ARGS = {}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Identity — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a Identity output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
ImageEncoderBackbone Ran
ran on a synthesized input
mvenouziou/Project-Attention-Is-What-You-Get/encoders.py
pointer only (licence: NONE) · get_code("b7a0bf27263bde3c")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, mvenouziou/Project-Attention-Is-What-You-Get 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.

InvertedResidual Ran
ran on a synthesized input
Jintao-Huang/EfficientNet_PyTorch/models/efficientnet.py
code served (permissive licence) · get_code("e5992e8fc871080e")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, class construct-then-call prompt, model not recorded) and returned Tensor, ndim 4, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn
import math

# Define a simple norm layer for testing
class SimpleNormLayer(nn.Module):
    def __init__(self, num_features, eps=1e-5, momentum=0.1):
        super().__init__()
        self.eps = eps
        self.momentum = momentum
        self.weight = nn.Parameter(torch.ones(num_features))
        self.bias = nn.Parameter(torch.zeros(num_features))
        self.register_buffer('running_mean', torch.zeros(num_features))
        self.register_buffer('running_var', torch.ones(num_features))

    def forward(self, x):
        if self.training:
            mean = x.mean(dim=(0, 2, 3))
            var = x.var(dim=(0, 2, 3), unbiased=False)
            with torch.no_grad():
                self.running_mean = (1 - self.momentum) * self.running_mean + self.momentum * mean
                self.running_var = (1 - self.momentum) * self.running_var + self.momentum * var
        else:
            mean = self.running_mean
            var = self.running_var
        x = (x - mean[None, :, None, None]) / torch.sqrt(var[None, :, None, None] + self.eps)
        x = self.weight[None, :, None, None] * x + self.bias[None, :, None, None]
        return x

# Initialize arguments for InvertedResidual
INIT_ARGS = {
    'in_channels': 4,
    'out_channels': 6,
    'kernel_size': 3,
    'expand_ratio': 2,
    'id_skip': True,
    'stride': 1,
    'se_ratio': 0.25,
    'bn_momentum': 0.1,
    'bn_eps': 1e-5,
    'image_size': (8, 8),
    'drop_connect_rate': 0.2,
    'norm_layer': SimpleNormLayer
}

# Create input tensor for forward pass
ARGS = {
    'inputs': torch.randn(2, 4, 8, 8)
}
Setup block drafted by
a language model, class construct-then-call prompt, model not recorded
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 4, dtype family float — no output shape is stated: observe_signature.py observed this class with its constructor sizes canonicalised where it could, which the node does not record, so its shape is not stated as this setup block's
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: torch and numpy seeded to 0 by the harness immediately before the class was constructed from INIT_ARGS (fixture_check.py)
L2norm Ran
ran on a synthesized input · constructed an object; no result was computed
chrisqqq123/FA-Dist-EfficientNet/models/efficientnet.py
code served (permissive licence) · get_code("8094ed61838ecd75")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, L2norm: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
from torch import nn

torch.manual_seed(0)

# L2norm.__init__ takes axis parameter
# L2norm.forward takes input tensor and normalizes it along the specified axis

# Create a small input tensor for testing
# Shape: (batch_size=2, features=4)
input_tensor = torch.randn(2, 4)

# Construct the ARGS dict with all parameters
ARGS = {
    'axis': 1
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type L2norm — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a L2norm output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
LayerSuperBlock Ran
ran on a synthesized input · constructed an object; no result was computed
konstantinos-p/image_classification_SOTA/testing/models/efficientnet.py
pointer only (licence: NONE) · get_code("c575f4a06415232c")
How it ran

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

LinearBottleneck Ran
ran on a synthesized input · constructed an object; no result was computed
clovaai/rexnet/rexnetv1.py
code served (permissive licence) · get_code("bc3b3c76102b5db3")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, LinearBottleneck: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn

torch.manual_seed(0)

def silu(x, inplace=True):
    return x * torch.sigmoid(x)

class SiLU(nn.Module):
    def __init__(self, inplace=True):
        super(SiLU, self).__init__()
        self.inplace = inplace

    def forward(self, x):
        return silu(x, self.inplace)

class SE(nn.Module):
    def __init__(self, in_channels, channels, se_ratio=12):
        super(SE, self).__init__()
        self.avg_pool = nn.AdaptiveAvgPool2d(1)
        self.fc = nn.Sequential(
            nn.Conv2d(in_channels, channels // se_ratio, kernel_size=1, padding=0),
            nn.BatchNorm2d(channels // se_ratio),
            nn.ReLU(inplace=True),
            nn.Conv2d(channels // se_ratio, channels, kernel_size=1, padding=0),
            nn.Sigmoid()
        )

    def forward(self, x):
        y = self.avg_pool(x)
        y = self.fc(y)
        return x * y

def ConvBNSiLU(out, in_channels, channels, kernel=1, stride=1, pad=0, num_group=1):
    out.append(nn.Conv2d(in_channels, channels, kernel, stride, pad, groups=num_group, bias=False))
    out.append(nn.BatchNorm2d(channels))
    out.append(SiLU(inplace=True))

def ConvBNAct(out, in_channels, channels, kernel=1, stride=1, pad=0, num_group=1, active=True, relu6=False):
    out.append(nn.Conv2d(in_channels, channels, kernel, stride, pad, groups=num_group, bias=False))
    out.append(nn.BatchNorm2d(channels))
    if active:
        out.append(nn.ReLU6(inplace=True) if relu6 else nn.ReLU(inplace=True))

class LinearBottleneck(nn.Module):
    def __init__(self, in_channels, channels, t, stride, use_se=True, se_ratio=12, **kwargs):
        super(LinearBottleneck, self).__init__(**kwargs)
        self.use_shortcut = stride == 1 and in_channels <= channels
        self.in_channels = in_channels
        self.out_channels = channels
        out = []
        if t != 1:
            dw_channels = in_channels * t
            ConvBNSiLU(out, in_channels=in_channels, channels=dw_channels)
        else:
            dw_channels = in_channels
        ConvBNAct(out, in_channels=dw_channels, channels=dw_channels, kernel=3, stride=stride, pad=1, num_group=dw_channels, active=False)
        if use_se:
            out.append(SE(dw_channels, dw_channels, se_ratio))
        out.append(nn.ReLU6())
        ConvBNAct(out, in_channels=dw_channels, channels=channels, active=False, relu6=True)
        self.out = nn.Sequential(*out)

    def forward(self, x):
        out = self.out(x)
        if self.use_shortcut:
            out[:, 0:self.in_channels] += x
        return out

ARGS = {
    "in_channels": 8,
    "channels": 16,
    "t": 2,
    "stride": 1,
    "use_se": True,
    "se_ratio": 4,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type LinearBottleneck — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a LinearBottleneck output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
MBBlock Ran
ran on a synthesized input · constructed an object; no result was computed
zsef123/EfficientNets-PyTorch/models/effnet.py
pointer only (licence: NONE) · get_code("25f0b7a4b6a66e1b")
How it ran

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

MBBlock Ran
ran on a synthesized input · constructed an object; no result was computed
xslidi/EfficientNets_ddl_apex/models/effnet.py
pointer only (licence: NONE) · get_code("caa7473dbc2ecc01")
How it ran

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

MBConv Ran
ran on a synthesized input · constructed an object; no result was computed
konstantinos-p/image_classification_SOTA/testing/models/efficientnet.py
pointer only (licence: NONE) · get_code("355e6e1120d560a9")
How it ran

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

MBConv Ran
ran on a synthesized input · constructed an object; no result was computed
JacobM184/EfficientNet-for-Gun-detection/BB.py
pointer only (licence: NONE) · get_code("564f745d92b1336d")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, JacobM184/EfficientNet-for-Gun-detection 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.

MBConv Ran
ran on a synthesized input · constructed an object; no result was computed
zsef123/EfficientNets-PyTorch/models/effnet.py
pointer only (licence: NONE) · get_code("733d26522c639130")
How it ran

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

MBConv Ran
ran on a synthesized input · constructed an object; no result was computed
xslidi/EfficientNets_ddl_apex/models/effnet.py
pointer only (licence: NONE) · get_code("87bb84ef873236e1")
How it ran

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

MBConvBlock Ran
ran on a synthesized input · constructed an object; no result was computed
chrisqqq123/FA-Dist-EfficientNet/models/efficientnet.py
code served (permissive licence) · get_code("6eb3c2113f675e0d")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, MBConvBlock: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
from torch import nn

torch.manual_seed(0)

# Define the required classes that are used by MBConvBlock
class Swish(nn.Module):
    def __init__(self, *args, **kwargs):
        super(Swish, self).__init__()

    def forward(self, x):
        return x * torch.sigmoid(x)


class ConvBNReLU(nn.Sequential):
    def __init__(self, in_planes, out_planes, kernel_size, stride=1, groups=1):
        padding = self._get_padding(kernel_size, stride)
        super(ConvBNReLU, self).__init__(
            nn.ZeroPad2d(padding),
            nn.Conv2d(in_planes, out_planes, kernel_size, stride, padding=0, groups=groups, bias=False),
            nn.BatchNorm2d(out_planes, eps=1e-05, momentum=0.01),
            Swish()
        )

    def _get_padding(self, kernel_size, stride):
        p = max(kernel_size - stride, 0)
        return [p // 2, p - p // 2, p // 2, p - p // 2]


class SqueezeExcitation(nn.Module):
    def __init__(self, in_planes, reduced_dim):
        super(SqueezeExcitation, self).__init__()
        self.se = nn.Sequential(
            nn.AdaptiveAvgPool2d(1),
            nn.Conv2d(in_planes, reduced_dim, 1, bias=True),
            Swish(),
            nn.Conv2d(reduced_dim, in_planes, 1, bias=True),
            nn.Sigmoid()
        )

    def forward(self, x):
        return x * self.se(x)


class MBConvBlock(nn.Module):
    def __init__(self, in_planes, out_planes, expand_ratio, kernel_size, stride, reduction_ratio=4, drop_connect_rate=0.2):
        super(MBConvBlock, self).__init__()
        self.drop_connect_rate = drop_connect_rate
        self.use_residual = in_planes == out_planes and stride == 1
        assert stride in [1, 2]
        assert kernel_size in [3, 5]
        hidden_dim = in_planes * expand_ratio
        reduced_dim = max(1, int(in_planes / reduction_ratio))
        layers = []
        if in_planes != hidden_dim:
            layers += [ConvBNReLU(in_planes, hidden_dim, 1)]
        layers += [
            ConvBNReLU(hidden_dim, hidden_dim, kernel_size, stride=stride, groups=hidden_dim),
            SqueezeExcitation(hidden_dim, reduced_dim),
            nn.Conv2d(hidden_dim, out_planes, 1),
            nn.BatchNorm2d(out_planes, eps=1e-05, momentum=0.01)
        ]
        self.conv = nn.Sequential(*layers)

    def _drop_connect(self, x):
        if not self.training:
            return x
        keep_prob = 1.0 - self.drop_connect_rate
        batch_size = x.size(0)
        random_tensor = keep_prob
        random_tensor += torch.rand((batch_size, 1, 1, 1), dtype=x.dtype, device=x.device)
        binary_tensor = random_tensor.floor()
        return x.div(keep_prob) * binary_tensor

    def forward(self, x):
        if self.use_residual:
            return x + self._drop_connect(self.conv(x))
        else:
            return self.conv(x)


ARGS = {
    "in_planes": 4,
    "out_planes": 8,
    "expand_ratio": 2,
    "kernel_size": 3,
    "stride": 1,
    "reduction_ratio": 4,
    "drop_connect_rate": 0.2,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type MBConvBlock — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a MBConvBlock output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
MBConvBlock Ran
ran on a synthesized input · constructed an object; no result was computed
isaachaw/GrabCarRecognition/efficientnet/model.py
pointer only (licence: GPL-3.0) · get_code("20b2eb990021c72b")
How it ran

The body of this sample is withheld: GPL-3.0, as GitHub detects it on this paper's repository, isaachaw/GrabCarRecognition, is not in the permissive set Syntology serves inline. 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.

MBConvBlock Ran
ran on a synthesized input · constructed an object; no result was computed
AmirmohammadRostami/KeywordsSpotting-EfficientNet-A0/utils/efficientnet_pytorch/model.py
code served (permissive licence) · get_code("04c2b7413de3c583")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, MBConvBlock: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
from torch import nn
import math

torch.manual_seed(0)

class Conv2dDynamicSamePadding(nn.Conv2d):
    """2D Convolutions like TensorFlow, for a dynamic image size."""

    def __init__(self, in_channels, out_channels, kernel_size, stride=1, dilation=1, groups=1, bias=True):
        super().__init__(in_channels, out_channels, kernel_size, stride, 0, dilation, groups, bias)
        self.stride = self.stride if len(self.stride) == 2 else [self.stride[0]] * 2

    def forward(self, x):
        ih, iw = x.size()[-2:]
        kh, kw = self.weight.size()[-2:]
        sh, sw = self.stride
        oh, ow = (math.ceil(ih / sh), math.ceil(iw / sw))
        pad_h = max((oh - 1) * self.stride[0] + (kh - 1) * self.dilation[0] + 1 - ih, 0)
        pad_w = max((ow - 1) * self.stride[1] + (kw - 1) * self.dilation[1] + 1 - iw, 0)
        if pad_h > 0 or pad_w > 0:
            x = torch.nn.functional.pad(x, [pad_w // 2, pad_w - pad_w // 2, pad_h // 2, pad_h - pad_h // 2])
        return torch.nn.functional.conv2d(x, self.weight, self.bias, self.stride, self.padding, self.dilation, self.groups)

class Identity(nn.Module):
    def __init__(self):
        super(Identity, self).__init__()

    def forward(self, input):
        return input

class Swish(nn.Module):
    def forward(self, x):
        return x * torch.sigmoid(x)

class MemoryEfficientSwish(nn.Module):
    def forward(self, x):
        return x * torch.sigmoid(x)

class MBConvBlock(nn.Module):
    def __init__(self, block_args, global_params=None, image_size=None):
        super().__init__()
        self._block_args = block_args
        self._global_params = global_params or {}

    def forward(self, x):
        return x

class BlockArgs:
    def __init__(self, num_repeat=1, kernel_size=3, stride=1, expand_ratio=1, 
                 input_filters=3, output_filters=16, se_ratio=0.25, id_skip=True,
                 drop_connect_rate=0.2):
        self.num_repeat = num_repeat
        self.kernel_size = kernel_size
        self.stride = stride
        self.expand_ratio = expand_ratio
        self.input_filters = input_filters
        self.output_filters = output_filters
        self.se_ratio = se_ratio
        self.id_skip = id_skip
        self.drop_connect_rate = drop_connect_rate

class GlobalParams:
    def __init__(self, batch_norm_momentum=0.99, batch_norm_epsilon=1e-3,
                 dropout_rate=0.2, num_classes=1000, width_coefficient=1.0,
                 depth_coefficient=1.0, depth_divisor=8, min_depth=None,
                 drop_connect_rate=0.2, image_size=224):
        self.batch_norm_momentum = batch_norm_momentum
        self.batch_norm_epsilon = batch_norm_epsilon
        self.dropout_rate = dropout_rate
        self.num_classes = num_classes
        self.width_coefficient = width_coefficient
        self.depth_coefficient = depth_coefficient
        self.depth_divisor = depth_divisor
        self.min_depth = min_depth
        self.drop_connect_rate = drop_connect_rate
        self.image_size = image_size

block_args = BlockArgs(
    num_repeat=1,
    kernel_size=3,
    stride=1,
    expand_ratio=1,
    input_filters=3,
    output_filters=16,
    se_ratio=0.25,
    id_skip=True,
    drop_connect_rate=0.2
)

global_params = GlobalParams(
    batch_norm_momentum=0.99,
    batch_norm_epsilon=1e-3,
    dropout_rate=0.2,
    num_classes=1000,
    width_coefficient=1.0,
    depth_coefficient=1.0,
    depth_divisor=8,
    min_depth=None,
    drop_connect_rate=0.2,
    image_size=224
)

ARGS = {
    'block_args': block_args,
    'global_params': global_params,
    'image_size': 224
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type MBConvBlock — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a MBConvBlock output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
MBConvBlock Ran
ran on a synthesized input · constructed an object; no result was computed
github-luffy/PFLD_68points_Pytorch/efficientnet/model.py
pointer only (licence: NONE) · get_code("45c9c18b06c8bcb5")
How it ran

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

MBConvBlock Ran
ran on a synthesized input · constructed an object; no result was computed
Mayurji/Image-Classification-PyTorch/EfficientNet.py
pointer only (licence: GPL-3.0) · get_code("4ec0cd472dab11e6")
How it ran

The body of this sample is withheld: GPL-3.0, as GitHub detects it on this paper's repository, Mayurji/Image-Classification-PyTorch, is not in the permissive set Syntology serves inline. 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.

MBConvBlock Ran
ran on a synthesized input
rohitgr7/tvmodels/tvmodels/models/blocks/effnet_blocks.py
code served (permissive licence) · get_code("e0d1e58cc21f79d6")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, class construct-then-call prompt, model not recorded) and returned Tensor, ndim 4, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn
import numpy as np

# INIT_ARGS for MBConvBlock.__init__(ni, nf, expand, ksz, stride, ps=0.2, skip=True, se_ratio=0.25)
INIT_ARGS = {
    'ni': 8,           # input channels
    'nf': 12,          # output channels
    'expand': 4,       # expansion ratio
    'ksz': 3,          # kernel size
    'stride': 1,       # stride
    'ps': 0.1,         # drop connect probability
    'skip': True,      # whether to use skip connection
    'se_ratio': 0.25   # squeeze-excitation ratio
}

# ARGS for forward(x)
ARGS = {
    'x': torch.randn(2, 8, 16, 16)  # batch=2, channels=8 (matches ni), height=16, width=16
}
Setup block drafted by
a language model, class construct-then-call prompt, model not recorded
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 4, dtype family float — no output shape is stated: observe_signature.py observed this class with its constructor sizes canonicalised where it could, which the node does not record, so its shape is not stated as this setup block's
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: torch and numpy seeded to 0 by the harness immediately before the class was constructed from INIT_ARGS (fixture_check.py)
MBConvN Ran
ran on a synthesized input
BobMcDear/pytorch-efficientnet/efficientnet.py
pointer only (licence: GPL-3.0) · get_code("6d3b29dc187fc600")
How it ran

The body of this sample is withheld: GPL-3.0, as GitHub detects it on this paper's repository, BobMcDear/pytorch-efficientnet, is not in the permissive set Syntology serves inline. 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.

MemoryEfficientSwish Ran
ran on a synthesized input
shijianjian/efficientnet-pytorch-3d/efficientnet_pytorch_3d/model.py
code served (permissive licence) · get_code("d9104e773e32582e")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, class construct-then-call prompt, model not recorded) and returned Tensor, ndim 2, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
from torch import nn

class SwishImplementation(torch.autograd.Function):

    @staticmethod
    def forward(ctx, i):
        result = i * torch.sigmoid(i)
        ctx.save_for_backward(i)
        return result

    @staticmethod
    def backward(ctx, grad_output):
        i = ctx.saved_variables[0]
        sigmoid_i = torch.sigmoid(i)
        return grad_output * (sigmoid_i * (1 + i * (1 - sigmoid_i)))

class MemoryEfficientSwish(nn.Module):

    def forward(self, x):
        return SwishImplementation.apply(x)


INIT_ARGS = {}

ARGS = {
    'x': torch.randn(2, 4)
}

if __name__ == '__main__':
    model = MemoryEfficientSwish(**INIT_ARGS)
    output = model(**ARGS)
    print(output)
    print(output.shape)
Setup block drafted by
a language model, class construct-then-call prompt, model not recorded
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 2, dtype family float — no output shape is stated: observe_signature.py observed this class with its constructor sizes canonicalised where it could, which the node does not record, so its shape is not stated as this setup block's
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: torch and numpy seeded to 0 by the harness immediately before the class was constructed from INIT_ARGS (fixture_check.py)

Showing the first 60. An agent gets every one from get_harvested_code_for_paper("1905.11946").

Also present in other papers' code

Of 302 samples lifted from this paper's linked repositories, 302 carry a function identity and 0 do not. Of the 288 distinct functions with an identity, 74 are also present in other papers whose code we hold (24 with at least one paper dated earlier, 4 the same month, 60 later) and 214 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
swish
brick of this paper's assembly: helper
206 other papers
8 dated earlier, 198 later · 44 only as an assembly brick
1408.5882 (2014-08)
Convolutional Neural Networks for Sentence Classification
1805.12114 (2018-05)
Deep Reinforcement Learning in a Handful of Trials using Probabilistic Dynamics Models
1809.01357 (2018-09)
Zero Shot Learning for Code Education: Rubric Sampling with Deep Learning Inference
and 203 more not named here
drop_connect
brick of this paper's assembly: helper
29 other papers
1 dated earlier, 28 later
1512.03385 (2015-12)
Deep Residual Learning for Image Recognition
2002.09564 (2020-02)
Towards Robust and Reproducible Active Learning Using Neural Networks
2002.11318 (2020-02)
Can we have it all? On the Trade-off between Spatial and Adversarial Robustness of Neural Networks
and 26 more not named here
l2_norm
brick of this paper's assembly: helper
29 other papers
2 dated earlier, 27 later · 2 only as an assembly brick
1804.07573 (2018-04)
MobileFaceNets: Efficient CNNs for Accurate Real-Time Face Verification on Mobile Devices
1903.08527 (2019-03)
Accurate 3D Face Reconstruction with Weakly-Supervised Learning: From Single Image to Image Set
1907.10830 (2019-07)
U-GAT-IT: Unsupervised Generative Attentional Networks with Adaptive Layer-Instance Normalization for Image-to-Image Translation
and 26 more not named here
_make_divisible
brick of this paper's assembly: helper
11 other papers
3 dated earlier, 1 the same month, 7 later · 7 only as an assembly brick
1704.04861 (2017-04)
MobileNets: Efficient Convolutional Neural Networks for Mobile Vision Applications
1801.04381 (2018-01)
MobileNetV2: Inverted Residuals and Linear Bottlenecks
1802.02611 (2018-02)
Encoder-Decoder with Atrous Separable Convolution for Semantic Image Segmentation
and 8 more not named here
is_image_file 11 other papers
3 dated earlier, 8 later
1812.10366 (2018-12)
A Poisson-Gaussian Denoising Dataset with Real Fluorescence Microscopy Images
1902.02476 (2019-02)
A Simple Baseline for Bayesian Uncertainty in Deep Learning
1904.04717 (2019-04)
Label Propagation for Deep Semi-supervised Learning
and 8 more not named here
Swish
brick of this paper's assembly: helper
10 other papers
2 dated earlier, 8 later · 7 only as an assembly brick
1505.04597 (2015-05)
U-Net: Convolutional Networks for Biomedical Image Segmentation
1612.03144 (2016-12)
Feature Pyramid Networks for Object Detection
2003.12039 (2020-03)
RAFT: Recurrent All-Pairs Field Transforms for Optical Flow
and 7 more not named here
_log_api_usage_once
brick of this paper's assembly: helper
8 other papers
2 dated earlier, 6 later · 1 only as an assembly brick
1512.03385 (2015-12)
Deep Residual Learning for Image Recognition
1603.09382 (2016-03)
Deep Networks with Stochastic Depth
2003.12039 (2020-03)
RAFT: Recurrent All-Pairs Field Transforms for Optical Flow
and 5 more not named here
MemoryEfficientSwish
brick of this paper's assembly: helper
7 other papers
1 dated earlier, 6 later · 4 only as an assembly brick
1612.03144 (2016-12)
Feature Pyramid Networks for Object Detection
2103.02406 (2021-03)
Multi-attentional Deepfake Detection
2103.11703 (2021-03)
Model-based 3D Hand Reconstruction via Self-Supervised Learning
and 4 more not named here
get_same_padding_conv2d
brick of this paper's assembly: helper
5 other papers
5 later · 1 only as an assembly brick
2103.02406 (2021-03)
Multi-attentional Deepfake Detection
2103.11703 (2021-03)
Model-based 3D Hand Reconstruction via Self-Supervised Learning
2108.11250 (2021-08)
YOLOP: You Only Look Once for Panoptic Driving Perception
and 2 more not named here
Conv2dDynamicSamePadding
brick of this paper's assembly: helper, model
4 other papers
4 later · 2 only as an assembly brick
2103.02406 (2021-03)
Multi-attentional Deepfake Detection
2103.11703 (2021-03)
Model-based 3D Hand Reconstruction via Self-Supervised Learning
2201.04021 (2022-01)
Optimization Planning for 3D ConvNets
and 1 more not named here
calcul_acc 4 other papers
3 dated earlier, 1 later
1512.03385 (2015-12)
Deep Residual Learning for Image Recognition
1807.11164 (2018-07)
ShuffleNet V2: Practical Guidelines for Efficient CNN Architecture Design
1811.12814 (2018-11)
Graph-Based Global Reasoning Networks
and 1 more not named here
conv_kernel_initializer 4 other papers
1 dated earlier, 3 later
1904.02877 (2019-04)
Single-Path NAS: Designing Hardware-Efficient ConvNets in less than 4 Hours
1911.04252 (2019-11)
Self-training with Noisy Student improves ImageNet classification
2006.14536 (2020-06)
Smooth Adversarial Training
and 1 more not named here
dense_kernel_initializer 4 other papers
1 dated earlier, 3 later
1904.02877 (2019-04)
Single-Path NAS: Designing Hardware-Efficient ConvNets in less than 4 Hours
1911.04252 (2019-11)
Self-training with Noisy Student improves ImageNet classification
2006.14536 (2020-06)
Smooth Adversarial Training
and 1 more not named here
has_file_allowed_extension 4 other papers
4 later
2003.14297 (2020-03)
Generative Latent Implicit Conditional Optimization when Learning from Small Sample
2105.04580 (2021-05)
Towards Discovery and Attribution of Open-world GAN Generated Images
2306.02031 (2023-06)
DOS: Diverse Outlier Sampling for Out-of-Distribution Detection
and 1 more not named here
round_repeats 4 other papers
4 later
1911.09070 (2019-11)
EfficientDet: Scalable and Efficient Object Detection
1911.12448 (2019-11)
Soft Anchor-Point Object Detection
2106.04015 (2021-06)
Uncertainty Baselines: Benchmarks for Uncertainty &amp; Robustness in Deep Learning
and 1 more not named here
correct_pad
brick of this paper's assembly: helper
3 other papers
1 dated earlier, 2 later
1904.07305 (2019-04)
Automatic adaptation of object detectors to new domains using self-training
1911.08287 (2019-11)
Distance-IoU Loss: Faster and Better Learning for Bounding Box Regression
2004.10934 (2020-04)
YOLOv4: Optimal Speed and Accuracy of Object Detection
efficientnet_params
brick of this paper's assembly: helper
3 other papers
3 later
2106.04015 (2021-06)
Uncertainty Baselines: Benchmarks for Uncertainty &amp; Robustness in Deep Learning
2107.02612 (2021-07)
Combining EfficientNet and Vision Transformers for Video Deepfake Detection
2403.01786 (2024-03)
Exposing the Deception: Uncovering More Forgery Clues for Deepfake Detection
stochastic_depth
brick of this paper's assembly: helper
3 other papers
1 dated earlier, 2 later
1603.09382 (2016-03)
Deep Networks with Stochastic Depth
2103.14030 (2021-03)
Swin Transformer: Hierarchical Vision Transformer using Shifted Windows
2201.03545 (2022-01)
A ConvNet for the 2020s
Conv2dNormActivation
brick of this paper's assembly: helper
2 other papers
2 later
2010.11929 (2020-10)
An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
2201.03545 (2022-01)
A ConvNet for the 2020s
Conv2dStaticSamePadding
brick of this paper's assembly: model
2 other papers
2 later · 1 only as an assembly brick
2201.04021 (2022-01)
Optimization Planning for 3D ConvNets
2403.01786 (2024-03)
Exposing the Deception: Uncovering More Forgery Clues for Deepfake Detection

Shown: the 20 functions present in the most other papers. 54 more shared functions are not listed 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-23.

Repositories linked to this paper

More are linked than shown here.

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

Abstract

Convolutional Neural Networks (ConvNets) are commonly developed at a fixed resource budget, and then scaled up for better accuracy if more resources are available. In this paper, we systematically study model scaling and identify that carefully balancing network depth, width, and resolution can lead to better performance. Based on this observation, we propose a new scaling method that uniformly scales all dimensions of depth/width/resolution using a simple yet highly effective compound coefficient. We demonstrate the effectiveness of this method on scaling up MobileNets and ResNet. To go even further, we use neural architecture search to design a new baseline network and scale it up to obtain a family of models, called EfficientNets, which achieve much better accuracy and efficiency than previous ConvNets. In particular, our EfficientNet-B7 achieves state-of-the-art 84.3% top-1 accuracy on ImageNet, while being 8.4x smaller and 6.1x faster on inference than the best existing ConvNet. Our EfficientNets also transfer well and achieve state-of-the-art accuracy on CIFAR-100 (91.7%), Flowers (98.8%), and 3 other transfer learning datasets, with an order of magnitude fewer parameters. Source code is at https: //github.com/tensorflow/tpu/tree/ master/models/official/efficientnet.

For agents

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

get_harvested_code_for_paper("1905.11946")
get_code_for_paper("1905.11946")
have("1905.11946")

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

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

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

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

Connect an agent — have() is free.