SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 1807.11164 · 2018

ShuffleNet V2: Practical Guidelines for Efficient CNN Architecture Design

arXiv · PDF · Open in the Atlas

Code that ran

14 of 30 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 0 violated it and 12 have no contract verdict; 2 failures of our instrument; 16 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/1807.11164.json · badge: /api/ran/1807.11164.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
mnicnc404/CartoonGan-tensorflow community (classifier label)
classifier basis not recorded on the link
4 ran · 5 no recorded run
CellProfiling/HPA-Special-Prize community (classifier label)
classifier basis not recorded on the link
3 ran · 0 no recorded run
tropcomplique/shufflenet-v2-tensorflow community (classifier label)
classifier basis not recorded on the link
2 ran · 2 no recorded run
megvii-model/ShuffleNet-Series community (classifier label)
classifier basis not recorded on the link
2 ran · 1 no recorded run
zjZSTU/LightWeightCNN community (classifier label)
classifier basis not recorded on the link
1 ran · 4 no recorded run
PaulGitt/ShuffleNetV2-tensorflow community (classifier label)
classifier basis not recorded on the link
1 ran · 2 no recorded run
lyqcom/shufflenetv2 community (classifier label)
classifier basis not recorded on the link
1 ran · 0 no recorded run
Yang-YiFan/DiracDeltaNet extension (classifier label)
classifier basis: classifier_2025
0 ran · 2 no recorded run
FunctionStatusWhere it lives
calcul_acc Ran
ran on a synthesized input
lyqcom/shufflenetv2/postprocess.py
code served (permissive licence) · get_code("5af3c724a0f8260c")
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 float, ndim 0, dtype family float, 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)

# The function calcul_acc takes two parameters: lab (labels) and preds (predictions)
# It iterates through pairs of (label, prediction) and counts matches
# Both should be iterable sequences where elements can be compared with ==

# Create simple label and prediction lists
lab = [0, 1, 1, 0, 1]
preds = [0, 1, 0, 0, 1]

ARGS = {
    "lab": lab,
    "preds": preds
}
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 float, ndim 0, dtype family float, 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
central_crop Ran
ran on a synthesized input
tropcomplique/shufflenet-v2-tensorflow/input_pipeline.py
code served (permissive licence) · get_code("a2dd1b47b92453bf")
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 int, shape (4, 5, 3) 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 image tensor (height=6, width=8, channels=3)
image = tf.constant(np.random.randint(0, 256, (6, 8, 3), dtype=np.uint8), dtype=tf.uint8)

crop_height = 4
crop_width = 5

ARGS = {
    "image": image,
    "crop_height": crop_height,
    "crop_width": crop_width,
}
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 int, shape (4, 5, 3) — shape (4, 5, 3) 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
channel_shuffle Ran
ran; our contract draft was wrong, not the code
zjZSTU/LightWeightCNN/py/lib/models/shufflenet_v2/inverted_residual.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from ddghost/new_darts, is pointer only (licence: NONE) · get_code("b9da06d4f527dd6c")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (Apache-2.0), but get_code serves the stored copy, first harvested from ddghost/new_darts, and GitHub detected no licence in that repository 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.

channel_shuffle Ran
ran on a synthesized input
megvii-model/ShuffleNet-Series/ShuffleNetV2+/blocks.py
code served (permissive licence) · get_code("eaa44944ca357418")
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 tuple, ndim 5, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn

torch.manual_seed(0)

# Create a small tensor with shape (batch=2, channels=4, height=3, width=5)
# channels must be divisible by 4 as per the assert
x = torch.randn(2, 4, 3, 5)

ARGS = {
    'x': x
}
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 tuple, ndim 5, dtype family float — a tuple 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
channel_shuffle Ran
ran on a synthesized input
PaulGitt/ShuffleNetV2-tensorflow/ShuffleNetV2Layer.py
code served (permissive licence) · get_code("1f2313e2d5c77242")
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 TensorFlow tensor with shape (batch=2, height=4, width=3, channels=8)
# num_groups must divide channels evenly, so we use channels=8 with num_groups=8 or channels=16 with num_groups=8
inputs = tf.constant(np.random.randn(2, 4, 3, 8).astype(np.float32))

ARGS = {
    "inputs": inputs,
    "num_groups": 8
}
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
channel_shuffle_2 Ran
ran on a synthesized input
mnicnc404/CartoonGan-tensorflow/layers.py
code served (permissive licence) · get_code("047d2adb2aa60175")
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, 3, 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

def channel_shuffle_2(x):
    dyn_shape = tf.shape(x)
    h, w = (dyn_shape[1], dyn_shape[2])
    c = x.shape[3]
    x = tf.keras.backend.reshape(x, [-1, h, w, 2, c // 2])
    x = tf.keras.backend.permute_dimensions(x, [0, 1, 2, 4, 3])
    x = tf.keras.backend.reshape(x, [-1, h, w, c])
    return x

# Create a small test tensor with shape (batch=2, height=3, width=4, channels=8)
# Channels must be even for the function to work (divided by 2)
x = tf.constant(np.random.randn(2, 3, 4, 8).astype(np.float32))

ARGS = {
    "x": x
}
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, 3, 4, 8) — shape (2, 3, 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
get_logger Ran
ran on a synthesized input
mnicnc404/CartoonGan-tensorflow/logger.py
code served (permissive licence) · get_code("f68f4a5d6df2ac7f")
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 Logger. 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 sys
import logging
import tempfile

# Create a temporary file for log output
temp_log_file = tempfile.NamedTemporaryFile(mode='w', delete=False, suffix='.log')
temp_log_file.close()

ARGS = {
    'name': 'test_logger',
    'log_file': temp_log_file.name,
    'debug': False
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Logger — a Logger output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Logger 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_padding Ran
ran on a synthesized input
mnicnc404/CartoonGan-tensorflow/layers.py
code served (permissive licence) · get_code("2fa780cf05243f82")
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 ReflectionPadding2D. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import tensorflow as tf
from tensorflow.keras.layers import Layer, InputSpec, DepthwiseConv2D
from tensorflow.keras.layers import ReLU, LeakyReLU, ZeroPadding2D

class ReflectionPadding2D(Layer):

    def __init__(self, padding=(1, 1), **kwargs):
        super(ReflectionPadding2D, self).__init__(**kwargs)
        padding = tuple(padding)
        self.padding = ((0, 0), padding, padding, (0, 0))
        self.input_spec = [InputSpec(ndim=4)]

    def compute_output_shape(self, s):
        """ If you are using "channels_last" configuration"""
        return (s[0], s[1] + 2 * self.padding[0], s[2] + 2 * self.padding[1], s[3])

    def call(self, x):
        return tf.pad(x, self.padding, 'REFLECT')

def get_padding(pad_type, padding):
    if pad_type == 'reflect':
        return ReflectionPadding2D(padding)
    elif pad_type == 'constant':
        return ZeroPadding2D(padding)
    else:
        raise ValueError(f'Unrecognized pad_type {pad_type}')

ARGS = {
    'pad_type': 'reflect',
    'padding': (1, 1)
}
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 ReflectionPadding2D — a ReflectionPadding2D output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a ReflectionPadding2D 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_parameters Ran
ran; our contract draft was wrong, not the code
megvii-model/ShuffleNet-Series/ShuffleNetV1/utils.py
pointer only (licence: MIT); the stored copy get_code serves, from vila-lab/delt, is pointer only (licence: NONE) · get_code("9a700a3b149f4952")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from vila-lab/delt, and GitHub detected no licence in that repository 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.

get_random_crop Ran
ran on a synthesized input
tropcomplique/shufflenet-v2-tensorflow/input_pipeline.py
code served (permissive licence) · get_code("d21f11381e618e69")
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 int, shape (51, 39, 3) 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 valid JPEG image as bytes
# We'll create a minimal JPEG using PIL or numpy
from io import BytesIO

try:
    from PIL import Image
    img = Image.new('RGB', (100, 80), color='red')
    img_bytes = BytesIO()
    img.save(img_bytes, format='JPEG')
    image_as_string = img_bytes.getvalue()
except ImportError:
    # Fallback: create a minimal JPEG bytes sequence
    # This is a tiny valid JPEG (1x1 red pixel)
    image_as_string = b'\xff\xd8\xff\xe0\x00\x10JFIF\x00\x01\x01\x00\x00\x01\x00\x01\x00\x00\xff\xdb\x00C\x00\x08\x06\x06\x07\x06\x05\x08\x07\x07\x07\t\t\x08\n\x0c\x14\r\x0c\x0b\x0b\x0c\x19\x12\x13\x0f\x14\x1d\x1a\x1f\x1e\x1d\x1a\x1c\x1c $.\' ",#\x1c\x1c(7),01444\x1f\'9=82<.342\xff\xc0\x00\x0b\x08\x00\x01\x00\x01\x01\x11\x00\xff\xc4\x00\x1f\x00\x00\x01\x05\x01\x01\x01\x01\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x01\x02\x03\x04\x05\x06\x07\x08\t\n\x0b\xff\xda\x00\x08\x01\x01\x00\x00?\x00\xfb\xd4\xff\xd9'

# Create bounding boxes as normalized coordinates [y_min, x_min, y_max, x_max]
# Shape should be compatible with tf.expand_dims(boxes, axis=0)
# boxes should be shape [num_boxes, 4]
boxes = np.array([[0.1, 0.1, 0.9, 0.9]], dtype=np.float32)

ARGS = {
    'image_as_string': image_as_string,
    'boxes': boxes
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
PIL, 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 int, shape (51, 39, 3) — shape (51, 39, 3) 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
load_test_data Ran
ran on a synthesized input
CellProfiling/HPA-Special-Prize/inference/special_eval.py
code served (permissive licence) · get_code("e5b4c800ffeec6c5")
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
from pathlib import Path

# The function takes a 'path' parameter
# Since the function is a mock that returns dummy data,
# we just need to provide a valid path-like argument
# The function doesn't actually read from the filesystem,
# so we can pass a string path

path_arg = "dummy/path/to/data.csv"

ARGS = {
    'path': path_arg
}
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
post_processing Ran
ran on a synthesized input
mnicnc404/CartoonGan-tensorflow/cartoonize.py
code served (permissive licence) · get_code("b1dee98f6e19456f")
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 ndarray, ndim 3, dtype family float, shape (4, 3, 3) 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)

# The function expects:
# 1. transformed_image: either np.ndarray or something with .numpy() method (like torch.Tensor)
# 2. style: a parameter that's not actually used in the function body

# Create a small torch tensor that will be converted to numpy
# Shape: (batch=1, height=4, width=3, channels=3) to match the indexing operations
transformed_image = torch.randn(1, 4, 3, 3)

# style parameter - not used in function body, can be any value
style = "some_style"

ARGS = {
    "transformed_image": transformed_image,
    "style": style
}
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 ndarray, ndim 3, dtype family float, shape (4, 3, 3) — shape (4, 3, 3) 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
pre_process_image Ran
ran on a synthesized input
CellProfiling/HPA-Special-Prize/inference/predict.py
code served (permissive licence) · get_code("ac24f40859e3a94f")
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 tuple. 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 numpy as np
import cv2
import tempfile
import os

# Create temporary directory and dummy image files
temp_dir = tempfile.mkdtemp()

# Create three dummy grayscale PNG images (512x512)
dummy_image = np.random.randint(0, 256, (512, 512), dtype=np.uint8)

red_path = os.path.join(temp_dir, 'test_red.png')
green_path = os.path.join(temp_dir, 'test_green.png')
blue_path = os.path.join(temp_dir, 'test_blue.png')

cv2.imwrite(red_path, dummy_image)
cv2.imwrite(green_path, dummy_image)
cv2.imwrite(blue_path, dummy_image)

# The function expects a path without the color suffix
base_image_path = os.path.join(temp_dir, 'test')

ARGS = {
    'imagePath': base_image_path
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
cv2, numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple — a tuple 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
read_fov_images Ran
ran on a synthesized input
CellProfiling/HPA-Special-Prize/inference/special_eval.py
code served (permissive licence) · get_code("d4aa0c5d57122c3f")
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 ndarray, ndim 4, dtype family float, shape (2048, 2048, 1, 4) 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 numpy as np

def read_fov_images(path):
    """Mock read all channels of a field of view and return numpy array."""
    red = np.random.rand(2048, 2048, 1)
    green = np.random.rand(2048, 2048, 1)
    blue = np.random.rand(2048, 2048, 1)
    yellow = np.random.rand(2048, 2048, 1)
    stack = np.stack([red, green, blue, yellow], axis=-1)
    return stack

ARGS = {
    "path": "/mock/fov/path"
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 4, dtype family float, shape (2048, 2048, 1, 4) — shape (2048, 2048, 1, 4) 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
DiracDeltaNet_wrapper Not yet run
unverified (harvested, no recorded run)
Yang-YiFan/DiracDeltaNet/models/diracdeltanet.py
code served (permissive licence) · get_code("6b203d6dc2a5b668")
How it ran

no invocation recorded.

ShuffleNetv2_wrapper Not yet run
unverified (harvested, no recorded run)
Yang-YiFan/DiracDeltaNet/models/shufflenetv2.py
code served (permissive licence) · get_code("445ec0988e64e403")
How it ran

no invocation recorded.

accuracy Not yet run
unverified (harvested, no recorded run)
megvii-model/ShuffleNet-Series/ShuffleNetV1/utils.py
pointer only (licence: MIT); the stored copy get_code serves, from yuxwind/exactcompression, is pointer only (licence: NONE) · get_code("469bf48752905889")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from yuxwind/exactcompression, and GitHub detected no licence in that repository 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.

concat_shuffle_split Not yet run
unverified (harvested, no recorded run)
tropcomplique/shufflenet-v2-tensorflow/architecture.py
code served (permissive licence) · get_code("f3c9a6ea00c7a858")
How it ran

no invocation recorded.

conv_layer Not yet run
unverified (harvested, no recorded run)
mnicnc404/CartoonGan-tensorflow/style_transfer/cartoongan/cartoongan.py
code served (permissive licence) · get_code("b7aa9d638640fd66")
How it ran

no invocation recorded.

deconv_layers Not yet run
unverified (harvested, no recorded run)
mnicnc404/CartoonGan-tensorflow/style_transfer/cartoongan/cartoongan.py
code served (permissive licence) · get_code("ca657d934bcd2edf")
How it ran

no invocation recorded.

instance_norm_layer Not yet run
unverified (harvested, no recorded run)
mnicnc404/CartoonGan-tensorflow/style_transfer/cartoongan/cartoongan.py
code served (permissive licence) · get_code("286a52cbf168ada5")
How it ran

no invocation recorded.

pre_processing Not yet run
unverified (harvested, no recorded run)
mnicnc404/CartoonGan-tensorflow/cartoonize.py
code served (permissive licence) · get_code("ef3323039d6f13b6")
How it ran

no invocation recorded.

resize_keeping_aspect_ratio Not yet run
unverified (harvested, no recorded run)
tropcomplique/shufflenet-v2-tensorflow/input_pipeline.py
code served (permissive licence) · get_code("a6ea3219aaef3a26")
How it ran

no invocation recorded.

save_transformed_image Not yet run
unverified (harvested, no recorded run)
mnicnc404/CartoonGan-tensorflow/cartoonize.py
code served (permissive licence) · get_code("7fa659f5c52cd503")
How it ran

no invocation recorded.

shufflenet_g_1 Not yet run
unverified (harvested, no recorded run)
zjZSTU/LightWeightCNN/py/lib/models/shufflenet/shufflenet.py
code served (permissive licence) · get_code("73b69322397c17cd")
How it ran

no invocation recorded.

shufflenet_g_2 Not yet run
unverified (harvested, no recorded run)
zjZSTU/LightWeightCNN/py/lib/models/shufflenet/shufflenet.py
code served (permissive licence) · get_code("ccf9120247e232c4")
How it ran

no invocation recorded.

shufflenet_g_3 Not yet run
unverified (harvested, no recorded run)
zjZSTU/LightWeightCNN/py/lib/models/shufflenet/shufflenet.py
code served (permissive licence) · get_code("128ca4f685f83b5a")
How it ran

no invocation recorded.

shufflenetv2block Not yet run
unverified (harvested, no recorded run)
PaulGitt/ShuffleNetV2-tensorflow/ShuffleNetV2Layer.py
code served (permissive licence) · get_code("7d6072fb5e206973")
How it ran

no invocation recorded.

shufflenetv2block_withsubsample Not yet run
unverified (harvested, no recorded run)
PaulGitt/ShuffleNetV2-tensorflow/ShuffleNetV2Layer.py
code served (permissive licence) · get_code("e50ce69643b1c686")
How it ran

no invocation recorded.

topk_accuracy Not yet run
unverified (harvested, no recorded run)
zjZSTU/LightWeightCNN/py/lib/utils/metrics.py
code served (permissive licence) · get_code("10e6a9dbdece7f97")
How it ran

no invocation recorded.

Also present in other papers' code

Of 30 samples lifted from this paper's linked repositories, 30 carry a function identity and 0 do not. Of the 30 distinct functions with an identity, 6 are also present in other papers whose code we hold (3 with at least one paper dated earlier, 1 the same month, 6 later) and 24 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
accuracy 71 other papers
8 dated earlier, 63 later · 2 only as an assembly brick
1505.05424 (2015-05)
Weight Uncertainty in Neural Networks
1705.07204 (2017-05)
Ensemble Adversarial Training: Attacks and Defenses
1802.10399 (2018-02)
Compressing Neural Networks using the Variational Information Bottleneck
and 68 more not named here
channel_shuffle 19 other papers
3 dated earlier, 1 the same month, 15 later · 2 only as an assembly brick
1512.03385 (2015-12)
Deep Residual Learning for Image Recognition
1606.02147 (2016-06)
ENet: A Deep Neural Network Architecture for Real-Time Semantic Segmentation
1805.12549 (2018-05)
Channel Gating Neural Networks
and 16 more not named here
get_parameters 6 other papers
6 later
1903.10979 (2019-03)
DetNAS: Backbone Search for Object Detection
1904.00420 (2019-04)
Single Path One-Shot Neural Architecture Search with Uniform Sampling
2312.03526 (2023-12)
On the Diversity and Realism of Distilled Dataset: An Efficient Dataset Distillation Paradigm
and 3 more not named here
calcul_acc 4 other papers
1 dated earlier, 3 later
1512.03385 (2015-12)
Deep Residual Learning for Image Recognition
1811.12814 (2018-11)
Graph-Based Global Reasoning Networks
1905.11946 (2019-05)
EfficientNet: Rethinking Model Scaling for Convolutional Neural Networks
and 1 more not named here
channel_shuffle 2 other papers
2 later
1903.10979 (2019-03)
DetNAS: Backbone Search for Object Detection
1904.00420 (2019-04)
Single Path One-Shot Neural Architecture Search with Uniform Sampling
DiracDeltaNet_wrapper 1 other paper
1 later
1811.08634 (2018-11)
Synetgy: Algorithm-hardware Co-design for ConvNet Accelerators on Embedded FPGAs

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

Currently, the neural network architecture design is mostly guided by the \emph{indirect} metric of computation complexity, i.e., FLOPs. However, the \emph{direct} metric, e.g., speed, also depends on the other factors such as memory access cost and platform characterics. Thus, this work proposes to evaluate the direct metric on the target platform, beyond only considering FLOPs. Based on a series of controlled experiments, this work derives several practical \emph{guidelines} for efficient network design. Accordingly, a new architecture is presented, called \emph{ShuffleNet V2}. Comprehensive ablation experiments verify that our model is the state-of-the-art in terms of speed and accuracy tradeoff.

For agents

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

get_harvested_code_for_paper("1807.11164")
get_code_for_paper("1807.11164")
have("1807.11164")

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

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

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

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

Connect an agent — have() is free.