SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 1611.05431 · CVPR · 2016

Aggregated Residual Transformations for Deep Neural Networks

Uc Diego, Kaiming He, Saining Xie, Piotr Dollár, Ross Girshick, Zhuowen Tu

arXiv · PDF · Open in the Atlas

Code that ran

51 of 80 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (7 of them constructed an object rather than computing a result; 1 honoured the contract we drafted, 0 violated it and 29 have no contract verdict; 21 failures of our instrument; 29 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/1611.05431.json · badge: /api/ran/1611.05431.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
Sakib1263/1DResNet-Builder-KERAS community (classifier label)
classifier basis not recorded on the link
17 ran · 2 no recorded run
facebookresearch/pycls community
Papers with Code archive
12 ran · 16 no recorded run
Sakib1263/ResNet1D-Model-Builder-KERAS community
Papers with Code archive
5 ran · 5 no recorded run
Duplums/bhb10k-dl-benchmark community
Papers with Code archive
3 ran · 4 no recorded run
JianGoForIt/YellowFin_Pytorch community
Papers with Code archive
2 ran · 0 no recorded run
cjf8899/Pytorch_ResNeXt community
Papers with Code archive
2 ran · 0 no recorded run
Mayurji/Image-Classification-PyTorch community
Papers with Code archive
2 ran · 0 no recorded run
prlz77/ResNeXt.pytorch community
not in the paper's declared repositories
2 ran · 0 no recorded run
developer0hye/SKNet-PyTorch community
Papers with Code archive
2 ran · 0 no recorded run
Sakib1263/ResNet-ResNeXt-1D-2D-Tensorflow-Keras community
Papers with Code archive
1 ran · 1 no recorded run
pth051001/ResNeXt50-Implementation-and-Transfer-Learning-with-ResNet50V2 community
not in the paper's declared repositories
1 ran · 0 no recorded run
wwwuyijia/mindspore_models-ResNeXt50 community (classifier label)
classifier basis not recorded on the link
1 ran · 0 no recorded run
mindspore-courses/MindSpore-classification community (classifier label)
classifier basis not recorded on the link
1 ran · 0 no recorded run
jiajunhua/facebookresearch-Detectron community
Papers with Code archive
0 ran · 1 no recorded run
FunctionStatusWhere it lives
AnyStage Ran
ran on a synthesized input · constructed an object; no result was computed
facebookresearch/pycls/pycls/models/anynet.py
code served (permissive licence) · get_code("a2b675d6cb8d765f")
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, AnyStage: 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)

class SimpleBlock(nn.Module):
    """Minimal block implementation."""
    def __init__(self, w_in, w_out, stride, params):
        super(SimpleBlock, self).__init__()
        self.conv = nn.Conv2d(w_in, w_out, kernel_size=3, stride=stride, padding=1)
    
    def forward(self, x):
        return self.conv(x)
    
    @staticmethod
    def complexity(cx, w_in, w_out, stride, params):
        # Simple complexity calculation
        return cx + w_in * w_out


class SimpleParams:
    """Minimal params object."""
    def __init__(self):
        self.batch_norm = True
        self.activation = "relu"


ARGS = {
    "w_in": 4,
    "w_out": 8,
    "stride": 2,
    "d": 3,
    "block_fun": SimpleBlock,
    "params": SimpleParams(),
}
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 AnyStage — 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 AnyStage 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
Block Ran
ran on a synthesized input · constructed an object; no result was computed
JianGoForIt/YellowFin_Pytorch/pytorch-cifar/models/resnext.py
code served (permissive licence) · get_code("20a10df4cee25132")
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, Block: 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 Block class is instantiated with these parameters
ARGS = {
    "in_planes": 64,
    "cardinality": 32,
    "bottleneck_width": 4,
    "stride": 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 Block — 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 Block 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
Block Ran
ran on a synthesized input
cjf8899/Pytorch_ResNeXt/models/resneXt.py
pointer only (licence: NONE) · get_code("e8b334a9a47fc3c4")
How it ran

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

Block Ran
ran on a synthesized input
Mayurji/Image-Classification-PyTorch/ResNeXt.py
pointer only (licence: GPL-3.0) · get_code("2f70fa5b1a9337a8")
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.

Bottleneck Ran
ran on a synthesized input
Duplums/bhb10k-dl-benchmark/models/resnet.py
pointer only (licence: NONE) · get_code("b4fb603c24975287")
How it ran

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

CifarResNeXt Ran
ran on a synthesized input · constructed an object; no result was computed
prlz77/ResNeXt.pytorch/models/model.py
code served (permissive licence) · get_code("eff0d40b884a81f5")
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, CifarResNeXt: 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 = {
    'cardinality': 8,
    'depth': 29,
    'nlabels': 10,
    'base_width': 4,
    'widen_factor': 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 CifarResNeXt — 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 CifarResNeXt 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
Conv_1D_Block Ran
ran; our contract draft was wrong, not the code
Sakib1263/1DResNet-Builder-KERAS/Codes/ResNet_1DCNN.py
code served (permissive licence) · get_code("fa041da57fc2fe89")
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 KerasTensor. 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
import numpy as np

# Create a small input tensor
# Shape: (batch_size, sequence_length, input_channels)
# Using distinct dimensions: batch=2, seq_len=4, channels=3
x = tf.keras.Input(shape=(4, 3), batch_size=2)

# Define the parameters
model_width = 5  # output channels
kernel = 3  # kernel size
strides = 1  # stride

ARGS = {
    'x': x,
    'model_width': model_width,
    'kernel': kernel,
    'strides': strides
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, tensorflow — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type KerasTensor — a KerasTensor 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: none by the harness; any seed is in the setup block
Conv_1D_Block Ran
ran on a synthesized input
Sakib1263/1DResNet-Builder-KERAS/Codes/ResNet_v2_1DCNN.py
code served (permissive licence) · get_code("ff6986ad14b88659")
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 SymbolicTensor. 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
import numpy as np

# Create a small input tensor
# The function expects x to be a tensor that can flow through BatchNormalization, Activation, and Conv1D
# Conv1D expects input shape: (batch_size, steps, input_channels)
batch_size = 2
steps = 4
input_channels = 3
x = tf.random.normal((batch_size, steps, input_channels))

# model_width: number of filters in the Conv1D layer
model_width = 8

# kernel: kernel size for the Conv1D layer
kernel = 3

# strides: stride for the Conv1D layer
strides = 1

ARGS = {
    'x': x,
    'model_width': model_width,
    'kernel': kernel,
    'strides': strides
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, tensorflow — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type SymbolicTensor — a SymbolicTensor 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: none by the harness; any seed is in the setup block
Conv_1D_Block Ran
ran on a synthesized input
Sakib1263/1DResNet-Builder-KERAS/Codes/SE_ResNet_1DCNN.py
code served (permissive licence) · get_code("b3662bc0ad225f30")
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 KerasTensor. 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
import numpy as np

# Create a small input tensor
# Shape: (batch_size, sequence_length, channels)
# batch=2, sequence_length=4, input_channels=3
inputs = tf.keras.Input(shape=(4, 3))

num_filters = 8
kernel = 3
strides = 1

ARGS = {
    'inputs': inputs,
    'num_filters': num_filters,
    'kernel': kernel,
    'strides': strides
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, tensorflow — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type KerasTensor — a KerasTensor 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: none by the harness; any seed is in the setup block
Conv_2D_Block Ran
ran; our contract draft was wrong, not the code
Sakib1263/1DResNet-Builder-KERAS/Codes/ResNet_2DCNN.py
code served (permissive licence) · get_code("b6f21090a082496d")
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 KerasTensor. 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
import numpy as np

# Create a small input tensor with shape (batch=2, height=4, width=4, channels=3)
inputs = tf.keras.Input(shape=(4, 4, 3))

# Define parameters for Conv_2D_Block
model_width = 16
kernel = 3
strides = 1

ARGS = {
    'inputs': inputs,
    'model_width': model_width,
    'kernel': kernel,
    'strides': strides
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, tensorflow — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type KerasTensor — a KerasTensor 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: none by the harness; any seed is in the setup block
Conv_2D_Block Ran
ran; our contract draft was wrong, not the code
Sakib1263/ResNet-ResNeXt-1D-2D-Tensorflow-Keras/Codes/ResNeXt_2DCNN.py
code served (permissive licence) · get_code("bc4f177853fb0067")
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 KerasTensor. 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
import numpy as np

# Create a minimal input tensor for Conv2D
# Conv2D expects input shape (batch, height, width, channels)
# Using batch=2, height=4, width=3, channels=2
input_tensor = tf.keras.Input(shape=(4, 3, 2))

# Define parameters for Conv_2D_Block
x = input_tensor
model_width = 16  # number of filters for Conv2D
kernel = 3  # kernel size (3x3)
strides = 1  # stride size

ARGS = {
    'x': x,
    'model_width': model_width,
    'kernel': kernel,
    'strides': strides
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, tensorflow — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type KerasTensor — a KerasTensor 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: none by the harness; any seed is in the setup block
Conv_2D_Block Ran
ran on a synthesized input
Sakib1263/1DResNet-Builder-KERAS/Codes/ResNet_v2_2DCNN.py
code served (permissive licence) · get_code("bc70074dfc306687")
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 KerasTensor. 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
import numpy as np

# Create a small input tensor with shape (batch=2, height=4, width=3, channels=5)
x = tf.keras.Input(shape=(4, 3, 5))

# Define the arguments
model_width = 16
kernel = 3
strides = 1

ARGS = {
    'x': x,
    'model_width': model_width,
    'kernel': kernel,
    'strides': strides
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, tensorflow — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type KerasTensor — a KerasTensor 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: none by the harness; any seed is in the setup block
Conv_2D_Block Ran
ran on a synthesized input
Sakib1263/1DResNet-Builder-KERAS/Codes/SE_ResNet_2DCNN.py
code served (permissive licence) · get_code("e18b2a8a1f307b4b")
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 EagerTensor, ndim 4, dtype family float, shape (2, 4, 3, 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 tensorflow as tf
import numpy as np

# Create a small input tensor with shape (batch_size, height, width, channels)
# Using batch=2, height=4, width=3, channels=1
inputs = tf.random.normal((2, 4, 3, 1))

# Define parameters for the Conv2D block
num_filters = 8
kernel = 3
strides = 1

ARGS = {
    'inputs': inputs,
    'num_filters': num_filters,
    'kernel': kernel,
    'strides': strides
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, tensorflow — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type EagerTensor, ndim 4, dtype family float, shape (2, 4, 3, 8) — shape (2, 4, 3, 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: none by the harness; any seed is in the setup block
ResNeXt Ran
ran on a synthesized input · constructed an object; no result was computed
JianGoForIt/YellowFin_Pytorch/pytorch-cifar/models/resnext.py
code served (permissive licence) · get_code("b6d4cfa18d465973")
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, ResNeXt: 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_blocks": [3, 4, 6],
    "cardinality": 32,
    "bottleneck_width": 4,
    "num_classes": 10
}
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 ResNeXt — 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 ResNeXt 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
ResNeXt Ran
ran on a synthesized input · constructed an object; no result was computed
pth051001/ResNeXt50-Implementation-and-Transfer-Learning-with-ResNet50V2/ResNeXt.py
code served (permissive licence) · get_code("6ebcf72a26eaccf7")
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, ResNeXt: 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 minimal cardinalityBlock class that mimics how it's used in create_resBlock
class MockCardinalityBlock(nn.Module):
    def __init__(self, in_channels, out_channels, identity_downsample=None, stride=1):
        super(MockCardinalityBlock, self).__init__()
        self.in_channels = in_channels
        self.out_channels = out_channels
        self.identity_downsample = identity_downsample
        self.stride = stride
        # Minimal implementation to match the expected behavior
        self.conv = nn.Conv2d(in_channels, out_channels, kernel_size=1, stride=stride, padding=0)
        self.bn = nn.BatchNorm2d(out_channels)
        self.relu = nn.ReLU()
    
    def forward(self, x):
        out = self.conv(x)
        out = self.bn(out)
        out = self.relu(out)
        if self.identity_downsample is not None:
            x = self.identity_downsample(x)
        return out + x

ARGS = {
    "cardinalityBlock": MockCardinalityBlock,
    "num_repeat": [2, 2, 2, 2],
    "image_channels": 3,
    "num_classes": 10
}
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 ResNeXt — 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 ResNeXt 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
ResNeXt Ran
ran on a synthesized input
cjf8899/Pytorch_ResNeXt/models/resneXt.py
pointer only (licence: NONE) · get_code("c31a4a6e7e9e629d")
How it ran

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

ResNeXt Ran
ran on a synthesized input
Mayurji/Image-Classification-PyTorch/ResNeXt.py
pointer only (licence: GPL-3.0) · get_code("8b92103b18127677")
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.

ResNeXtBottleneck Ran
ran on a synthesized input · constructed an object; no result was computed
prlz77/ResNeXt.pytorch/models/model.py
code served (permissive licence) · get_code("41803a855817f1d4")
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, ResNeXtBottleneck: 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': 64,
    'out_channels': 128,
    'stride': 1,
    'cardinality': 32,
    'base_width': 4,
    'widen_factor': 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 ResNeXtBottleneck — 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 ResNeXtBottleneck 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
SKConv Ran
ran on a synthesized input
developer0hye/SKNet-PyTorch/sknet.py
pointer only (licence: NONE) · get_code("631f259c3742cc33")
How it ran

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

SKUnit Ran
ran on a synthesized input
developer0hye/SKNet-PyTorch/sknet.py
pointer only (licence: NONE) · get_code("863d7cf86472e688")
How it ran

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

SiLU Ran
ran on a synthesized input · constructed an object; no result was computed
facebookresearch/pycls/pycls/models/anynet.py
code served (permissive licence) · get_code("6d6a7258c7deca90")
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, SiLU: 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.nn import Module

torch.manual_seed(0)

class SiLU(Module):
    """SiLU activation function (also known as Swish): x * sigmoid(x)."""

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

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

# Create an instance of SiLU
silu = SiLU()

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

# The SiLU.__init__ method 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 SiLU — 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 SiLU 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
conv1x1 Ran
ran; our contract draft was wrong, not the code
Duplums/bhb10k-dl-benchmark/models/resnet.py
pointer only (licence: NONE) · get_code("262e5c2a0bf12f36")
How it ran

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

conv2d Ran
ran; our contract draft was wrong, not the code
facebookresearch/pycls/pycls/models/anynet.py
code served (permissive licence) · get_code("a403e6d76e961cea")
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 Conv2d. 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 = {
    'w_in': 3,
    'w_out': 16,
    'k': 3,
    'stride': 1,
    'groups': 1,
    'bias': 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 Conv2d — a Conv2d output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Conv2d 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
conv2d_cx Ran
ran; our contract draft was wrong, not the code
facebookresearch/pycls/pycls/models/anynet.py
code served (permissive licence) · get_code("517a5a368b00a407")
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 dict. 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 numpy as np

torch.manual_seed(0)

# Analyze the function signature and body:
# - cx: a dict with keys 'h', 'w', 'flops', 'params', 'acts' (all numeric)
# - w_in: input channels (int)
# - w_out: output channels (int)
# - k: kernel size (int, must be odd)
# - stride: stride (int, default 1)
# - groups: groups for grouped convolution (int, default 1)
# - bias: boolean flag (default False)

# The function reads from cx and performs arithmetic operations on its numeric values
# It doesn't call any methods on cx, just accesses dictionary keys
# All parameters are simple scalars or booleans

cx = {
    'h': 32,           # height
    'w': 32,           # width
    'flops': 0,        # accumulated flops
    'params': 0,       # accumulated params
    'acts': 0          # accumulated activations
}

w_in = 3              # input channels
w_out = 64            # output channels
k = 3                 # kernel size (must be odd)
stride = 1            # stride
groups = 1            # number of groups
bias = False          # whether to include bias

ARGS = {
    'cx': cx,
    'w_in': w_in,
    'w_out': w_out,
    'k': k,
    'stride': stride,
    'groups': groups,
    'bias': bias
}
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 dict — a dict output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a dict 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
conv3x3 Ran
ran; our contract draft was wrong, not the code
Duplums/bhb10k-dl-benchmark/models/resnet.py
pointer only (licence: NONE) · get_code("68212b2060dc618d")
How it ran

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

conv_block Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
Sakib1263/ResNet1D-Model-Builder-KERAS/Codes/ResNeXt_2DCNN.py
code served (permissive licence) · get_code("c280f69865379df5")
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 EagerTensor, ndim 4, dtype family float, shape (2, 2, 2, 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 tensorflow as tf
import numpy as np

# Set random seed for reproducibility
tf.random.set_seed(0)
np.random.seed(0)

# Create a small input tensor
# Shape: (batch_size, height, width, channels)
# Using batch=2, height=4, width=3, channels=2 for distinct dimensions
inputs = tf.random.normal((2, 4, 3, 2))

# Set num_filters to a small integer
num_filters = 8

ARGS = {
    'inputs': inputs,
    'num_filters': num_filters
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, tensorflow — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type EagerTensor, ndim 4, dtype family float, shape (2, 2, 2, 8) — shape (2, 2, 2, 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: none by the harness; any seed is in the setup block
conv_block Ran
ran on a synthesized input
Sakib1263/1DResNet-Builder-KERAS/Codes/ResNet_1DCNN.py
code served (permissive licence) · get_code("1c780b9dd4de663f")
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 KerasTensor. 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
import numpy as np

# Create a small input tensor for the conv_block function
# Shape: (batch_size, sequence_length, channels)
batch_size = 2
sequence_length = 4
input_channels = 3

# Create input tensor
inputs = tf.keras.Input(shape=(sequence_length, input_channels))

# Define num_filters parameter
num_filters = 8

ARGS = {
    'inputs': inputs,
    'num_filters': num_filters
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, tensorflow — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type KerasTensor — a KerasTensor 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: none by the harness; any seed is in the setup block
conv_block Ran
ran on a synthesized input
Sakib1263/1DResNet-Builder-KERAS/Codes/ResNet_2DCNN.py
code served (permissive licence) · get_code("367d94b9992d89f0")
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 EagerTensor, ndim 4, dtype family float, shape (2, 2, 2, 16) 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 tensorflow as tf
import numpy as np

# Set random seed for reproducibility
tf.random.set_seed(0)
np.random.seed(0)

# Create a small input tensor: batch=2, height=4, width=3, channels=1
inputs = tf.keras.Input(shape=(4, 3, 1))

# Create a simple model to pass through the conv_block function
model = tf.keras.Sequential([
    tf.keras.layers.Input(shape=(4, 3, 1)),
])

# Create actual tensor for inputs parameter
input_tensor = tf.random.normal((2, 4, 3, 1))

# Define ARGS dict with all parameters for conv_block
ARGS = {
    'inputs': input_tensor,
    'num_filters': 16
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, tensorflow — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type EagerTensor, ndim 4, dtype family float, shape (2, 2, 2, 16) — shape (2, 2, 2, 16) 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: none by the harness; any seed is in the setup block
conv_block Ran
ran on a synthesized input
Sakib1263/1DResNet-Builder-KERAS/Codes/ResNet_v2_1DCNN.py
code served (permissive licence) · get_code("cdf432637440f6a8")
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 EagerTensor, ndim 3, dtype family float, shape (2, 2, 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 tensorflow as tf
import numpy as np

# Set seed for reproducibility
tf.random.set_seed(0)
np.random.seed(0)

def Conv_1D_Block(x, model_width, kernel, strides):
    x = tf.keras.layers.BatchNormalization()(x)
    x = tf.keras.layers.Activation('relu')(x)
    x = tf.keras.layers.Conv1D(model_width, kernel, strides=strides, padding='same', kernel_initializer='he_normal')(x)
    return x

def conv_block(inputs, num_filters):
    conv = Conv_1D_Block(inputs, num_filters, 3, 2)
    conv = Conv_1D_Block(conv, num_filters, 3, 1)
    return conv

# Create a small input tensor
# Shape: (batch_size=2, sequence_length=4, channels=3)
input_tensor = tf.random.normal((2, 4, 3))

# Number of filters for convolution
num_filters = 8

ARGS = {
    'inputs': input_tensor,
    'num_filters': num_filters
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, tensorflow — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type EagerTensor, ndim 3, dtype family float, shape (2, 2, 8) — shape (2, 2, 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: none by the harness; any seed is in the setup block
conv_block Ran
ran on a synthesized input
Sakib1263/1DResNet-Builder-KERAS/Codes/ResNet_v2_2DCNN.py
code served (permissive licence) · get_code("646da7216686f082")
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 EagerTensor, ndim 4, dtype family float, shape (2, 2, 2, 16) 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 tensorflow as tf
import numpy as np

# Create a small input tensor for the conv_block function
# Shape: (batch_size, height, width, channels)
# Using batch=2, height=4, width=3, channels=1 for distinct dimensions
input_tensor = tf.keras.Input(shape=(4, 3, 1))

# Create a small concrete tensor to pass through
x = tf.random.normal((2, 4, 3, 1))

# Define the arguments dictionary
ARGS = {
    'inputs': x,
    'num_filters': 16
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, tensorflow — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type EagerTensor, ndim 4, dtype family float, shape (2, 2, 2, 16) — shape (2, 2, 2, 16) 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: none by the harness; any seed is in the setup block
gap2d Ran
ran; our contract draft was wrong, not the code
facebookresearch/pycls/pycls/models/anynet.py
code served (permissive licence) · get_code("f935ca2634ecf592")
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 AdaptiveAvgPool2d. 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 = {
    "_w_in": 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 AdaptiveAvgPool2d — a AdaptiveAvgPool2d output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a AdaptiveAvgPool2d 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
gap2d_cx Ran
ran; our contract draft was wrong, not the code
facebookresearch/pycls/pycls/models/anynet.py
code served (permissive licence) · get_code("efe5d34012233eec")
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 dict. 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 the cx dict with all required keys
# The function accesses cx['flops'], cx['params'], cx['acts']
# and returns a dict with keys 'h', 'w', 'flops', 'params', 'acts'
cx = {
    'flops': 1000,
    'params': 500,
    'acts': 250,
    'h': 32,
    'w': 32
}

_w_in = 64

ARGS = {
    'cx': cx,
    '_w_in': _w_in
}
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 dict — a dict output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a dict 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
get_stem_fun Ran
ran; our contract draft was wrong, not the code
facebookresearch/pycls/pycls/models/anynet.py
code served (permissive licence) · get_code("70285aa5652d6a55")
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 type. 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 yacs.config import CfgNode

torch.manual_seed(0)

# Set up minimal config
_C = CfgNode()
_C.MODEL = CfgNode()
_C.MODEL.ACTIVATION_FUN = 'relu'
_C.MODEL.ACTIVATION_INPLACE = True
_C.BN = CfgNode()
_C.BN.EPS = 1e-5
_C.BN.MOM = 0.1

# Make it global as the functions expect it
cfg = _C

def activation(activation_fun=None):
    """Helper for building an activation layer."""
    activation_fun = (activation_fun or cfg.MODEL.ACTIVATION_FUN).lower()
    if activation_fun == 'relu':
        return nn.ReLU(inplace=cfg.MODEL.ACTIVATION_INPLACE)
    elif activation_fun == 'silu' or activation_fun == 'swish':
        try:
            return torch.nn.SiLU()
        except AttributeError:
            return SiLU()
    elif activation_fun == 'gelu':
        return torch.nn.GELU()
    else:
        raise AssertionError('Unknown MODEL.ACTIVATION_FUN: ' + activation_fun)

def conv2d(w_in, w_out, k, *, stride=1, groups=1, bias=False):
    """Helper for building a conv2d layer."""
    assert k % 2 == 1, 'Only odd size kernels supported to avoid padding issues.'
    s, p, g, b = (stride, (k - 1) // 2, groups, bias)
    return nn.Conv2d(w_in, w_out, k, stride=s, padding=p, groups=g, bias=b)

def norm2d(w_in):
    """Helper for building a norm2d layer."""
    return nn.BatchNorm2d(num_features=w_in, eps=cfg.BN.EPS, momentum=cfg.BN.MOM)

def pool2d(_w_in, k, *, stride=1):
    """Helper for building a pool2d layer."""
    assert k % 2 == 1, 'Only odd size kernels supported to avoid padding issues.'
    return nn.MaxPool2d(k, stride=stride, padding=(k - 1) // 2)

class SiLU(nn.Module):
    """SiLU activation function (also known as Swish): x * sigmoid(x)."""
    def __init__(self):
        super(SiLU, self).__init__()
    def forward(self, x):
        return x * torch.sigmoid(x)

class ResStem(nn.Module):
    """ResNet stem for ImageNet: 7x7, BN, AF, MaxPool."""
    def __init__(self, w_in, w_out):
        super(ResStem, self).__init__()
        self.conv = conv2d(w_in, w_out, 7, stride=2)
        self.bn = norm2d(w_out)
        self.af = activation()
        self.pool = pool2d(w_out, 3, stride=2)

    def forward(self, x):
        for layer in self.children():
            x = layer(x)
        return x

class ResStemCifar(nn.Module):
    """ResNet stem for CIFAR: 3x3, BN, AF."""
    def __init__(self, w_in, w_out):
        super(ResStemCifar, self).__init__()
        self.conv = conv2d(w_in, w_out, 3)
        self.bn = norm2d(w_out)
        self.af = activation()

    def forward(self, x):
        for layer in self.children():
            x = layer(x)
        return x

class SimpleStem(nn.Module):
    """Simple stem for ImageNet: 3x3, BN, AF."""
    def __init__(self, w_in, w_out):
        super(SimpleStem, self).__init__()
        self.conv = conv2d(w_in, w_out, 3, stride=2)
        self.bn = norm2d(w_out)
        self.af = activation()

    def forward(self, x):
        for layer in self.children():
            x = layer(x)
        return x

def get_stem_fun(stem_type):
    """Retrieves the stem function by name."""
    stem_funs = {
        'res_stem_cifar': ResStemCifar,
        'res_stem_in': ResStem,
        'simple_stem_in': SimpleStem
    }
    err_str = "Stem type '{}' not supported"
    assert stem_type in stem_funs.keys(), err_str.format(stem_type)
    return stem_funs[stem_type]

ARGS = {
    'stem_type': 'res_stem_cifar'
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch, yacs — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type type — a type output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a type 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
get_top5_acc Ran
ran, honoured the contract we drafted
wwwuyijia/mindspore_models-ResNeXt50/eval_onnx.py
code served (permissive licence) · get_code("52a9653519e980d2")
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 int, ndim 0, dtype family int, shape () 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 numpy as np

torch.manual_seed(0)

# Analyzing the function:
# - top5_arg: an iterable of top-5 predictions (likely lists/tensors of 5 class indices)
# - gt_class: an iterable of ground truth class indices
# - The function checks if gt (a single value) is in top5 (a collection)
# - It zips these together, so they should have the same length

# Create small batch of top-5 predictions (batch size 2, each with 5 top classes)
top5_predictions = [
    [0, 1, 2, 3, 4],      # batch item 0: top 5 class indices
    [2, 3, 4, 1, 0]       # batch item 1: top 5 class indices
]

# Create ground truth labels (batch size 2)
ground_truth = [1, 4]  # gt for item 0 is 1, gt for item 1 is 4

ARGS = {
    "top5_arg": top5_predictions,
    "gt_class": ground_truth
}
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 int, ndim 0, dtype family int, shape () — shape () 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: none by the harness; any seed is in the setup block
learner101 Ran
ran; our contract draft was wrong, not the code
Sakib1263/ResNet1D-Model-Builder-KERAS/Codes/ResNeXt_2DCNN.py
code served (permissive licence) · get_code("56f2d12c8306ac45")
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 KerasTensor. 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
import numpy as np

# Create a small input tensor
# batch_size=2, height=4, width=4, channels=3
input_tensor = tf.keras.Input(shape=(4, 4, 3))

# Build a simple functional model to get a concrete tensor output
# that can be passed through the network
model = tf.keras.Model(inputs=input_tensor, outputs=input_tensor)
x = model.output

ARGS = {
    'inputs': x,
    'num_filters': 8,
    'cardinality': 2
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, tensorflow — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type KerasTensor — a KerasTensor 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: none by the harness; any seed is in the setup block
learner34 Ran
ran; our contract draft was wrong, not the code
Sakib1263/ResNet1D-Model-Builder-KERAS/Codes/ResNeXt_2DCNN.py
code served (permissive licence) · get_code("52dbd39be3e5d5ba")
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 KerasTensor. 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

# Create a small input tensor (batch=2, height=32, width=32, channels=3)
inputs = tf.keras.Input(shape=(32, 32, 3), batch_size=2)

# Define parameters
num_filters = 64
cardinality = 32

# Create the ARGS dictionary
ARGS = {
    'inputs': inputs,
    'num_filters': num_filters,
    'cardinality': cardinality
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
tensorflow — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type KerasTensor — a KerasTensor 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: none by the harness; any seed is in the setup block
linear Ran
ran; our contract draft was wrong, not the code
facebookresearch/pycls/pycls/models/anynet.py
code served (permissive licence) · get_code("08e0c2e6d48a74ec")
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 Linear. 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 = {
    "w_in": 4,
    "w_out": 3,
    "bias": 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 Linear — a Linear output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Linear 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
linear_cx Ran
ran; our contract draft was wrong, not the code
facebookresearch/pycls/pycls/models/anynet.py
code served (permissive licence) · get_code("6cc74b97de3505ec")
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 dict. 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)

# Construct the cx dictionary with initial complexity tracking values
cx = {
    'h': 10,
    'w': 20,
    'flops': 0,
    'params': 0,
    'acts': 0
}

# Define ARGS with all required parameters
ARGS = {
    'cx': cx,
    'w_in': 4,
    'w_out': 3,
    'bias': False,
    'num_locations': 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 dict — a dict output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a dict 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
norm2d_cx Ran
ran; our contract draft was wrong, not the code
facebookresearch/pycls/pycls/models/anynet.py
code served (permissive licence) · get_code("ab15f605b0af8109")
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 dict. 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

torch.manual_seed(0)

# The function norm2d_cx takes:
# - cx: a dict with keys 'h', 'w', 'flops', 'params', 'acts'
# - w_in: an integer representing input width/channels

# Construct a valid cx dict
cx = {
    'h': 16,
    'w': 32,
    'flops': 1000,
    'params': 500,
    'acts': 200
}

# w_in is the input width/channels
w_in = 64

ARGS = {
    'cx': cx,
    'w_in': w_in
}
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 dict — a dict output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a dict 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
plot_overlap Ran
ran; our contract draft was wrong, not the code
mindspore-courses/MindSpore-classification/utils/logger.py
code served (permissive licence) · get_code("98285059902b55ce")
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 list, ndim 1, 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 matplotlib.pyplot as plt
import numpy as np

class MockLogger:
    def __init__(self):
        self.title = "TestPlot"
        self.names = ["metric_a", "metric_b", "metric_c"]
        self.numbers = {
            "metric_a": [0.1, 0.2, 0.3, 0.4, 0.5],
            "metric_b": [0.05, 0.15, 0.25, 0.35, 0.45],
            "metric_c": [0.2, 0.25, 0.3, 0.35, 0.4]
        }

logger = MockLogger()

ARGS = {
    "logger": logger,
    "names": None
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
matplotlib, numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type list, ndim 1, dtype family float — a list output has no array shape of its own; none is stated
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: none by the harness; any seed is in the setup block
pool2d Ran
ran; our contract draft was wrong, not the code
facebookresearch/pycls/pycls/models/anynet.py
code served (permissive licence) · get_code("d1147cca7e15cb28")
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 MaxPool2d. 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 function pool2d takes:
# - _w_in: appears to be an integer width parameter (based on naming)
# - k: kernel size (must be odd)
# - stride: keyword-only argument with default 1

ARGS = {
    "_w_in": 32,
    "k": 3,
    "stride": 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 MaxPool2d — a MaxPool2d output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a MaxPool2d 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
pool2d_cx Ran
ran; our contract draft was wrong, not the code
facebookresearch/pycls/pycls/models/anynet.py
code served (permissive licence) · get_code("e6c24bb05c6fa231")
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 dict. 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 numpy as np

torch.manual_seed(0)

# Construct a valid cx dict with the required keys
cx = {
    'h': 32,
    'w': 32,
    'flops': 1000,
    'params': 0,
    'acts': 1024
}

# w_in: width of input channels
w_in = 64

# k: kernel size (must be odd)
k = 3

# stride: optional parameter
stride = 1

ARGS = {
    'cx': cx,
    'w_in': w_in,
    'k': k,
    'stride': stride
}
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 dict — a dict output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a dict 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
residual_group_bottleneck Ran
ran; our contract draft was wrong, not the code
Sakib1263/ResNet1D-Model-Builder-KERAS/Codes/ResNeXt_2DCNN.py
code served (permissive licence) · get_code("37e689601b4e8b17")
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 EagerTensor, ndim 4, dtype family float, shape (2, 2, 2, 16) 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 tensorflow as tf
import numpy as np

# Create a small input tensor
# Shape: (batch_size=2, height=4, width=4, channels=3)
input_tensor = tf.keras.Input(shape=(4, 4, 3))

# Build a minimal model to generate a concrete tensor for testing
def create_test_tensor():
    # Create a simple model that outputs a tensor of the right shape
    model = tf.keras.Sequential([
        tf.keras.layers.InputLayer(input_shape=(4, 4, 3)),
        tf.keras.layers.Conv2D(16, 3, padding='same')
    ])
    # Generate dummy input
    dummy_input = tf.random.normal((2, 4, 4, 3))
    return model(dummy_input)

# Test tensor with shape (2, 4, 4, 16)
test_inputs = create_test_tensor()

ARGS = {
    'inputs': test_inputs,
    'num_filters': 8,
    'n_blocks': 2,
    'cardinality': 2,
    'conv': True
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, tensorflow — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type EagerTensor, ndim 4, dtype family float, shape (2, 2, 2, 16) — shape (2, 2, 2, 16) 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: none by the harness; any seed is in the setup block
stem Ran
ran on a synthesized input
Sakib1263/1DResNet-Builder-KERAS/Codes/ResNet_1DCNN.py
code served (permissive licence) · get_code("ab72eeba5f2a8e01")
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 KerasTensor. 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
import numpy as np

# Create a small input tensor: batch_size=2, sequence_length=16, channels=3
inputs = tf.keras.Input(shape=(16, 3), batch_size=2)

# Set number of filters
num_filters = 8

# Define ARGS dictionary mapping all parameters of stem function
ARGS = {
    'inputs': inputs,
    'num_filters': num_filters
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, tensorflow — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type KerasTensor — a KerasTensor 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: none by the harness; any seed is in the setup block
stem Ran
ran on a synthesized input
Sakib1263/1DResNet-Builder-KERAS/Codes/ResNet_2DCNN.py
code served (permissive licence) · get_code("0ac04442aabc2a42")
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 SymbolicTensor. 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
import numpy as np

# Create a small input tensor with shape (batch_size, height, width, channels)
# Using batch_size=2, height=8, width=8, channels=3
inputs = tf.constant(np.random.randn(2, 8, 8, 3).astype(np.float32))

# num_filters parameter
num_filters = 16

ARGS = {
    'inputs': inputs,
    'num_filters': num_filters
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, tensorflow — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type SymbolicTensor — a SymbolicTensor 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: none by the harness; any seed is in the setup block
stem Ran
ran on a synthesized input
Sakib1263/1DResNet-Builder-KERAS/Codes/ResNet_v2_1DCNN.py
code served (permissive licence) · get_code("7ef98d5a06da35e4")
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 EagerTensor, ndim 3, dtype family float, shape (2, 4, 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 tensorflow as tf
import numpy as np

# Create a small input tensor
# Shape: (batch_size=2, sequence_length=16, channels=4)
inputs = tf.constant(
    np.random.randn(2, 16, 4).astype(np.float32),
    dtype=tf.float32
)

num_filters = 8

ARGS = {
    'inputs': inputs,
    'num_filters': num_filters
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, tensorflow — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type EagerTensor, ndim 3, dtype family float, shape (2, 4, 8) — shape (2, 4, 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: none by the harness; any seed is in the setup block
stem Ran
ran on a synthesized input
Sakib1263/1DResNet-Builder-KERAS/Codes/ResNet_v2_2DCNN.py
code served (permissive licence) · get_code("3e01a98528a53c09")
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 KerasTensor. 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
import numpy as np

# Create a small input tensor with shape (batch_size, height, width, channels)
# Using batch=2, height=4, width=3, channels=5 for distinct dimensions
inputs = tf.keras.Input(shape=(4, 3, 5))

# num_filters parameter
num_filters = 8

# Define ARGS dictionary with all parameters for the stem function
ARGS = {
    'inputs': inputs,
    'num_filters': num_filters
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, tensorflow — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type KerasTensor — a KerasTensor 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: none by the harness; any seed is in the setup block
stem Ran
ran on a synthesized input
Sakib1263/1DResNet-Builder-KERAS/Codes/SE_ResNet_1DCNN.py
code served (permissive licence) · get_code("57b2ad7b14fe19fe")
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 EagerTensor, ndim 3, dtype family float, shape (2, 4, 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 tensorflow as tf
import numpy as np

# Create a small input tensor with shape (batch_size, sequence_length, channels)
# Using distinct sizes: batch=2, sequence_length=16, channels=4
inputs = tf.constant(np.random.randn(2, 16, 4).astype(np.float32))

# Set num_filters to a distinct value from input channels
num_filters = 8

ARGS = {
    'inputs': inputs,
    'num_filters': num_filters
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, tensorflow — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type EagerTensor, ndim 3, dtype family float, shape (2, 4, 8) — shape (2, 4, 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: none by the harness; any seed is in the setup block
stem Ran
ran on a synthesized input
Sakib1263/1DResNet-Builder-KERAS/Codes/SE_ResNet_2DCNN.py
code served (permissive licence) · get_code("1ba22ee1d1ad73ef")
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 KerasTensor. 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
import numpy as np

# Create a small input tensor
# The function expects inputs to have shape (batch, height, width, channels)
# Using batch_size=2, height=8, width=8, channels=3
inputs = tf.keras.Input(shape=(8, 8, 3), batch_size=2)

# Define the stem function
def Conv_2D_Block(inputs, num_filters, kernel, strides):
    x = tf.keras.layers.Conv2D(num_filters, (kernel, kernel), strides=(strides, strides), padding='same', kernel_initializer='he_normal')(inputs)
    x = tf.keras.layers.BatchNormalization()(x)
    x = tf.keras.layers.Activation('relu')(x)
    return x

def stem(inputs, num_filters):
    conv = Conv_2D_Block(inputs, num_filters, 7, 2)
    if conv.shape[1] <= 2:
        pool = tf.keras.layers.MaxPooling2D(pool_size=(1, 1), strides=(2, 2), padding='valid')(conv)
    else:
        pool = tf.keras.layers.MaxPooling2D(pool_size=(2, 2), strides=(2, 2), padding='valid')(conv)
    return pool

# Arguments for stem function
ARGS = {
    'inputs': inputs,
    'num_filters': 64
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, tensorflow — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type KerasTensor — a KerasTensor 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: none by the harness; any seed is in the setup block
stem_bottleneck Ran
ran; our contract draft was wrong, not the code
Sakib1263/ResNet1D-Model-Builder-KERAS/Codes/ResNeXt_2DCNN.py
code served (permissive licence) · get_code("877dd123293994d8")
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 KerasTensor. 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
import numpy as np

# Set seed for reproducibility
tf.random.set_seed(0)
np.random.seed(0)

# Create a small input tensor (batch_size=2, height=4, width=3, channels=3)
inputs = tf.keras.Input(shape=(4, 3, 3), batch_size=2)

# Define num_filters
num_filters = 8

# Build ARGS dictionary
ARGS = {
    'inputs': inputs,
    'num_filters': num_filters
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, tensorflow — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type KerasTensor — a KerasTensor 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: none by the harness; any seed is in the setup block
stem_bottleneck Ran
ran on a synthesized input
Sakib1263/1DResNet-Builder-KERAS/Codes/ResNeXt_1DCNN.py
code served (permissive licence) · get_code("d0bcbb7952428a29")
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 KerasTensor. 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
import numpy as np

def Conv_1D_Block(x, model_width, kernel, strides):
    x = tf.keras.layers.Conv1D(model_width, kernel, strides=strides, padding='same', kernel_initializer='he_normal')(x)
    x = tf.keras.layers.BatchNormalization()(x)
    x = tf.keras.layers.Activation('relu')(x)
    return x

def stem_bottleneck(inputs, num_filters):
    conv = Conv_1D_Block(inputs, num_filters, 7, 2)
    if conv.shape[1] <= 2:
        pool = tf.keras.layers.MaxPooling1D(pool_size=1, strides=2, padding='valid')(conv)
    else:
        pool = tf.keras.layers.MaxPooling1D(pool_size=2, strides=2, padding='valid')(conv)
    return pool

# Create a small input tensor: (batch=2, timesteps=16, channels=4)
inputs = tf.keras.Input(shape=(16, 4), batch_size=2)

# Create num_filters parameter
num_filters = 8

ARGS = {
    "inputs": inputs,
    "num_filters": num_filters
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, tensorflow — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type KerasTensor — a KerasTensor 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: none by the harness; any seed is in the setup block
AnyHead Not yet run
unverified (harvested, no recorded run)
facebookresearch/pycls/pycls/models/anynet.py
code served (permissive licence) · get_code("05698a2d3782362c")
How it ran

no invocation recorded.

AnyNet Not yet run
unverified (harvested, no recorded run)
facebookresearch/pycls/pycls/models/anynet.py
code served (permissive licence) · get_code("0b8c4d5304de3066")
How it ran

no invocation recorded.

BasicBlock Not yet run
unverified (harvested, no recorded run)
Duplums/bhb10k-dl-benchmark/models/resnet.py
pointer only (licence: NONE) · get_code("dab5d609b8334891")
How it ran

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

BasicTransform Not yet run
unverified (harvested, no recorded run)
facebookresearch/pycls/pycls/models/anynet.py
code served (permissive licence) · get_code("0dd7996857ea226f")
How it ran

no invocation recorded.

BottleneckTransform Not yet run
unverified (harvested, no recorded run)
facebookresearch/pycls/pycls/models/anynet.py
code served (permissive licence) · get_code("1e92b73ae91c7c68")
How it ran

no invocation recorded.

ResBasicBlock Not yet run
unverified (harvested, no recorded run)
facebookresearch/pycls/pycls/models/anynet.py
code served (permissive licence) · get_code("4845eee1b7576426")
How it ran

no invocation recorded.

ResBottleneckBlock Not yet run
unverified (harvested, no recorded run)
facebookresearch/pycls/pycls/models/anynet.py
code served (permissive licence) · get_code("3a5c56abe38d3096")
How it ran

no invocation recorded.

ResBottleneckLinearBlock Not yet run
unverified (harvested, no recorded run)
facebookresearch/pycls/pycls/models/anynet.py
code served (permissive licence) · get_code("299f80a8fa20e53f")
How it ran

no invocation recorded.

ResNeXt Not yet run
unverified (harvested, no recorded run)
Sakib1263/ResNet1D-Model-Builder-KERAS/Codes/ResNeXt_2DCNN.py
code served (permissive licence) · get_code("1acbc1266425b27c")
How it ran

no invocation recorded.

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

Also present in other papers' code

Of 80 samples lifted from this paper's linked repositories, 80 carry a function identity and 0 do not. Of the 74 distinct functions with an identity, 22 are also present in other papers whose code we hold (15 with at least one paper dated earlier, 0 the same month, 16 later) and 52 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
Conv_1D_Block 3 other papers
3 dated earlier · 1 only as an assembly brick
1502.03167 (2015-02)
Batch Normalization: Accelerating Deep Network Training by Reducing Internal Covariate Shift
1512.03385 (2015-12)
Deep Residual Learning for Image Recognition
1608.06993 (2016-08)
Densely Connected Convolutional Networks
conv1x1
brick of this paper's assembly: helper
3 other papers
1 dated earlier, 2 later · 1 only as an assembly brick
1512.03385 (2015-12)
Deep Residual Learning for Image Recognition
1904.08921 (2019-04)
Deep Parametric Shape Predictions using Distance Fields
2211.08326 (2022-11)
Contrastive learning for regression in multi-site brain age prediction
conv2d
brick of this paper's assembly: helper
3 other papers
1 dated earlier, 2 later · 2 only as an assembly brick
1512.03385 (2015-12)
Deep Residual Learning for Image Recognition
1905.11946 (2019-05)
EfficientNet: Rethinking Model Scaling for Convolutional Neural Networks
2409.05162 (2024-09)
Can OOD Object Detectors Learn from Foundation Models?
conv3x3
brick of this paper's assembly: helper
3 other papers
1 dated earlier, 2 later · 1 only as an assembly brick
1512.03385 (2015-12)
Deep Residual Learning for Image Recognition
1904.08921 (2019-04)
Deep Parametric Shape Predictions using Distance Fields
2211.08326 (2022-11)
Contrastive learning for regression in multi-site brain age prediction
get_top5_acc 3 other papers
1 dated earlier, 2 later
1605.07146 (2016-05)
Wide Residual Networks
1812.01187 (2018-12)
Bag of Tricks for Image Classification with Convolutional Neural Networks
1911.11907 (2019-11)
GhostNet: More Features from Cheap Operations
Conv_2D_Block 2 other papers
2 dated earlier · 1 only as an assembly brick
1502.03167 (2015-02)
Batch Normalization: Accelerating Deep Network Training by Reducing Internal Covariate Shift
1512.03385 (2015-12)
Deep Residual Learning for Image Recognition
SiLU
brick of this paper's assembly: helper
2 other papers
1 dated earlier, 1 later · 1 only as an assembly brick
1512.03385 (2015-12)
Deep Residual Learning for Image Recognition
1905.11946 (2019-05)
EfficientNet: Rethinking Model Scaling for Convolutional Neural Networks
activation
brick of this paper's assembly: helper
2 other papers
1 dated earlier, 1 later
1512.03385 (2015-12)
Deep Residual Learning for Image Recognition
1905.11946 (2019-05)
EfficientNet: Rethinking Model Scaling for Convolutional Neural Networks
conv2d_cx
brick of this paper's assembly: helper
2 other papers
1 dated earlier, 1 later · 2 only as an assembly brick
1512.03385 (2015-12)
Deep Residual Learning for Image Recognition
1905.11946 (2019-05)
EfficientNet: Rethinking Model Scaling for Convolutional Neural Networks
norm2d
brick of this paper's assembly: helper
2 other papers
1 dated earlier, 1 later · 1 only as an assembly brick
1512.03385 (2015-12)
Deep Residual Learning for Image Recognition
1905.11946 (2019-05)
EfficientNet: Rethinking Model Scaling for Convolutional Neural Networks
norm2d_cx
brick of this paper's assembly: helper
2 other papers
1 dated earlier, 1 later · 2 only as an assembly brick
1512.03385 (2015-12)
Deep Residual Learning for Image Recognition
1905.11946 (2019-05)
EfficientNet: Rethinking Model Scaling for Convolutional Neural Networks
plot_overlap 2 other papers
2 later
Li_Dynamic_Dual_Gating_Neural_Networks_ICCV_2021_paper (2021 (year only))
Dynamic Dual Gating Neural Networks
2210.15318 (2022-10)
Efficient and Effective Augmentation Strategy for Adversarial Training
BasicBlock
brick of this paper's assembly: helper
1 other paper
1 dated earlier · 1 only as an assembly brick
1512.03385 (2015-12)
Deep Residual Learning for Image Recognition
Bottleneck
brick of this paper's assembly: model
1 other paper
1 dated earlier · 1 only as an assembly brick
1512.03385 (2015-12)
Deep Residual Learning for Image Recognition
ResNet
brick of this paper's assembly: helper
1 other paper
1 dated earlier · 1 only as an assembly brick
1512.03385 (2015-12)
Deep Residual Learning for Image Recognition
SE
brick of this paper's assembly: helper
1 other paper
1 later
1905.11946 (2019-05)
EfficientNet: Rethinking Model Scaling for Convolutional Neural Networks
SpatialConcreteDropout
brick of this paper's assembly: helper
1 other paper
1 dated earlier · 1 only as an assembly brick
1512.03385 (2015-12)
Deep Residual Learning for Image Recognition
gap2d
brick of this paper's assembly: helper
1 other paper
1 later · 1 only as an assembly brick
1905.11946 (2019-05)
EfficientNet: Rethinking Model Scaling for Convolutional Neural Networks
gap2d_cx
brick of this paper's assembly: helper
1 other paper
1 later · 1 only as an assembly brick
1905.11946 (2019-05)
EfficientNet: Rethinking Model Scaling for Convolutional Neural Networks
init_weights
brick of this paper's assembly: helper
1 other paper
1 later · 1 only as an assembly brick
1905.11946 (2019-05)
EfficientNet: Rethinking Model Scaling for Convolutional Neural Networks

Shown: the 20 functions present in the most other papers. 2 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

We present a simple, highly modularized network architecture for image classification. Our network is constructed by repeating a building block that aggregates a set of transformations with the same topology. Our simple design results in a homogeneous, multi-branch architecture that has only a few hyper-parameters to set. This strategy exposes a new dimension, which we call "cardinality" (the size of the set of transformations), as an essential factor in addition to the dimensions of depth and width. On the ImageNet-1K dataset, we empirically show that even under the restricted condition of maintaining complexity, increasing cardinality is able to improve classification accuracy. Moreover, increasing cardinality is more effective than going deeper or wider when we increase the capacity. Our models, named ResNeXt, are the foundations of our entry to the ILSVRC 2016 classification task in which we secured 2nd place. We further investigate ResNeXt on an ImageNet-5K set and the COCO detection set, also showing better results than its ResNet counterpart. The code and models are publicly available online 1 .

For agents

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

get_harvested_code_for_paper("1611.05431")
get_code_for_paper("1611.05431")
have("1611.05431")

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

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

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

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

Connect an agent — have() is free.