SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 1812.04948 · CVPR · 2018

A Style-Based Generator Architecture for Generative Adversarial Networks

Tero Karras

arXiv · PDF · Open in the Atlas

Code that ran

244 of 396 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (147 of them constructed an object rather than computing a result; 18 honoured the contract we drafted, 3 violated it and 196 have no contract verdict; 27 failures of our instrument; 152 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/1812.04948.json · badge: /api/ran/1812.04948.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
NVlabs/stylegan canonical (classifier label)
classifier basis: census
1 ran · 0 no recorded run
huangzh13/StyleGAN.pytorch community
not in the paper's declared repositories
20 ran · 9 no recorded run
ialhashim/StyleGAN-Tensorflow2 community
not in the paper's declared repositories
15 ran · 5 no recorded run
ayiyoh/style-gan-pytorch community
Papers with Code archive
14 ran · 5 no recorded run
mgmk2/StyleGAN community
not in the paper's declared repositories
13 ran · 8 no recorded run
ariel415el/ALAE community
Papers with Code archive
13 ran · 6 no recorded run
yuzq97/starter_project community
not in the paper's declared repositories
11 ran · 6 no recorded run
avakong/stylegan-test community
Papers with Code archive
10 ran · 4 no recorded run
sidward14/gan-lab community
not in the paper's declared repositories
10 ran · 4 no recorded run
podgorskiy/StyleGAN_Blobless community
not in the paper's declared repositories
10 ran · 2 no recorded run
foamliu/StyleGAN-PyTorch community
not in the paper's declared repositories
9 ran · 3 no recorded run
sergkuzn148/stg community
not in the paper's declared repositories
9 ran · 2 no recorded run
hejj16/Landscape-StyleGAN community
not in the paper's declared repositories
8 ran · 4 no recorded run
hichoe95/Artifact-Detection-and-Sequential-Ablation community
not in the paper's declared repositories
7 ran · 3 no recorded run
akatigre/multi2one community
Papers with Code archive
7 ran · 2 no recorded run
pierrickch/textureautoencoder community
not in the paper's declared repositories
6 ran · 2 no recorded run
ravinderpayal/stylegan_fashion community (classifier label)
classifier basis: plan_row
6 ran · 1 no recorded run
facebookresearch/pytorch_GAN_zoo community
not in the paper's declared repositories
6 ran · 0 no recorded run
pfnet-research/chainer-stylegan community (classifier label)
classifier basis not recorded on the link
6 ran · 0 no recorded run
jiazhi412/strong_attribute_bias community
not in the paper's declared repositories
5 ran · 1 no recorded run
junaidwahid/Implementation-of-StyleGan_A-Style-Based-Generator-Architecture-for-Generative-Adversarial-Networks community
not in the paper's declared repositories
5 ran · 0 no recorded run
UdbhavPrasad072300/GANs-Implementations community
Papers with Code archive
5 ran · 0 no recorded run
yan-roo/FakeFace community (classifier label)
classifier basis not recorded on the link
5 ran · 0 no recorded run
perplexingpegasus/EarthLandscapeGAN community
not in the paper's declared repositories
4 ran · 14 no recorded run
SiskonEmilia/StyleGAN-PyTorch community
Papers with Code archive
4 ran · 1 no recorded run
FunctionStatusWhere it lives
AdaIN Ran
ran on a synthesized input
junaidwahid/Implementation-of-StyleGan_A-Style-Based-Generator-Architecture-for-Generative-Adversarial-Networks/MicroStyleGan.py
pointer only (licence: NONE) · get_code("04305d6c712a4a73")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, junaidwahid/Implementation-of-StyleGan_A-Style-Based-Generator-Architecture-for-Generative-Adversarial-Networks 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.

AdaIN Ran
ran on a synthesized input
UdbhavPrasad072300/GANs-Implementations/gans_package/models/StyleGAN.py
code served (permissive licence) · get_code("9987dda346dfd46c")
How it ran

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

import torch
import torch.nn as nn

# INIT_ARGS: parameters for AdaIN.__init__
INIT_ARGS = {
    'w_dim': 8,
    'n_channels': 6,
    'device': 'cpu'
}

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

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

AdaIN Ran
ran on a synthesized input · constructed an object; no result was computed
mgmk2/StyleGAN/src/model/stylegan/network.py
code served (permissive licence) · get_code("083180b784821ddf")
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, AdaIN: 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 tensorflow as tf
import numpy as np

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

# Create the AdaIN layer
adain_layer = tf.keras.layers.Layer()

# Create dummy input tensors
# x: (batch_size=2, height=4, width=3, channels=8)
batch_size = 2
height = 4
width = 3
channels = 8

x = tf.random.normal((batch_size, height, width, channels))

# weight: (batch_size=2, 2, height=4, width=3, channels=8)
# Shape: (batch_size, 2, ...) where ... matches x dimensions
w = tf.random.normal((batch_size, 2, height, width, channels))

# Build the layer with proper input shapes
adain_layer.build([(batch_size, height, width, channels), (batch_size, 2, height, width, channels)])

ARGS = {
    'epsilon': 1e-08,
    'name': None,
}
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 AdaIN — 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 AdaIN 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
AdaIN Ran
ran on a synthesized input · constructed an object; no result was computed
facebookresearch/pytorch_GAN_zoo/models/networks/styleGAN.py
code served (permissive licence) · get_code("b378be59212a140b")
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, AdaIN: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn
import math
from numpy import prod

class ConstrainedLayer(nn.Module):
    """
    A handy refactor that allows the user to:
    - initialize one layer's bias to zero
    - apply He's initialization at runtime
    """

    def __init__(self, module, equalized=True, lrMul=1.0, initBiasToZero=True):
        """
        equalized (bool): if true, the layer's weight should evolve within
                         the range (-1, 1)
        initBiasToZero (bool): if true, bias will be initialized to zero
        """
        super(ConstrainedLayer, self).__init__()
        self.module = module
        self.equalized = equalized
        if initBiasToZero:
            self.module.bias.data.fill_(0)
        if self.equalized:
            self.module.weight.data.normal_(0, 1)
            self.module.weight.data /= lrMul
            self.weight = getLayerNormalizationFactor(self.module) * lrMul

    def forward(self, x):
        x = self.module(x)
        if self.equalized:
            x *= self.weight
        return x

class EqualizedLinear(ConstrainedLayer):

    def __init__(self, nChannelsPrevious, nChannels, bias=True, **kwargs):
        """
        A nn.Linear module with specific constraints
        Args:
            nChannelsPrevious (int): number of channels in the previous layer
            nChannels (int): number of channels of the current layer
            bias (bool): with bias ?
        """
        ConstrainedLayer.__init__(self, nn.Linear(nChannelsPrevious, nChannels, bias=bias), **kwargs)

def getLayerNormalizationFactor(x):
    """
    Get He's constant for the given layer
    https://www.cv-foundation.org/openaccess/content_iccv_2015/papers/He_Delving_Deep_into_ICCV_2015_paper.pdf
    """
    size = x.weight.size()
    fan_in = prod(size[1:])
    return math.sqrt(2.0 / fan_in)

class AdaIN(nn.Module):

    def __init__(self, dimIn, dimOut, epsilon=1e-08):
        super(AdaIN, self).__init__()
        self.epsilon = epsilon
        self.styleModulator = EqualizedLinear(dimIn, 2 * dimOut, equalized=True, initBiasToZero=True)
        self.dimOut = dimOut

    def forward(self, x, y):
        batchSize, nChannel, width, height = x.size()
        tmpX = x.view(batchSize, nChannel, -1)
        mux = tmpX.mean(dim=2).view(batchSize, nChannel, 1, 1)
        varx = torch.clamp((tmpX * tmpX).mean(dim=2).view(batchSize, nChannel, 1, 1) - mux * mux, min=0)
        varx = torch.rsqrt(varx + self.epsilon)
        x = (x - mux) * varx
        styleY = self.styleModulator(y)
        yA = styleY[:, :self.dimOut].view(batchSize, self.dimOut, 1, 1)
        yB = styleY[:, self.dimOut:].view(batchSize, self.dimOut, 1, 1)
        return yA * x + yB

torch.manual_seed(0)

ARGS = {
    "dimIn": 5,
    "dimOut": 4,
    "epsilon": 1e-08,
}
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 AdaIN — 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 AdaIN 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
AdaIN Ran
ran, honoured the contract we drafted
manicman1999/StyleGAN-Tensorflow-2.0/stylegan.py
code served (permissive licence) · get_code("ceab1cdc663078f6")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1) and returned EagerTensor, ndim 4, dtype family float, shape (2, 4, 3, 5) 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 tensorflow.keras.backend as K
import numpy as np

# Create sample tensors for the AdaIN function
# x is expected to be a list of 3 tensors: [content, gamma, beta]
# Based on the function body:
# - x[0] is the content tensor with shape (batch, height, width, channels)
# - x[1] is gamma (scale) with shape (batch, channels) or broadcastable
# - x[2] is beta (bias) with shape (batch, channels) or broadcastable

batch_size = 2
height = 4
width = 3
channels = 5

# Content tensor: (batch, height, width, channels)
content = tf.constant(np.random.randn(batch_size, height, width, channels).astype(np.float32))

# Gamma tensor: (batch, channels) - will be reshaped to [-1, 1, 1, channels]
gamma = tf.constant(np.random.randn(batch_size, channels).astype(np.float32))

# Beta tensor: (batch, channels) - will be reshaped to [-1, 1, 1, channels]
beta = tf.constant(np.random.randn(batch_size, channels).astype(np.float32))

# x is a list containing [content, gamma, beta]
x = [content, gamma, beta]

ARGS = {
    "x": x
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
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, 5) — shape (2, 4, 3, 5) 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
AdaInstanceNormalization Ran
ran on a synthesized input · constructed an object; no result was computed
manicman1999/StyleGAN-Keras/AdaIN.py
code served (permissive licence) · get_code("05daaa520a97c86e")
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, AdaInstanceNormalization: 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 tensorflow as tf
from keras.layers import Layer
from keras import backend as K
import numpy as np

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

# Create small input tensors for the layer
# The layer expects a list of 3 inputs: [input_tensor, gamma, beta]
batch_size = 2
feature_dim = 4
height = 3
width = 5

# Create input tensor (batch, height, width, channels)
input_tensor = tf.constant(np.random.randn(batch_size, height, width, feature_dim).astype(np.float32))

# Create gamma and beta tensors (should match the feature dimension for broadcasting)
gamma = tf.constant(np.random.randn(feature_dim).astype(np.float32))
beta = tf.constant(np.random.randn(feature_dim).astype(np.float32))

# The call method expects inputs as a list [input_tensor, beta, gamma]
# based on the code: beta = inputs[1], gamma = inputs[2]
inputs_list = [input_tensor, beta, gamma]

ARGS = {
    'axis': -1,
    'momentum': 0.99,
    'epsilon': 0.001,
    'center': True,
    'scale': True,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
keras, numpy, tensorflow — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type AdaInstanceNormalization — 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 AdaInstanceNormalization 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
AdaptiveInstanceNorm Ran
ran on a synthesized input · constructed an object; no result was computed
avakong/stylegan-test/model.py
code served (permissive licence) · get_code("2f8a1e380a9c5c06")
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, AdaptiveInstanceNorm: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn
from math import sqrt

torch.manual_seed(0)

# Define the helper function and classes from the provided code
class EqualLR:
    def __init__(self, name):
        self.name = name

    def compute_weight(self, module):
        weight = getattr(module, self.name + '_orig')
        fan_in = weight.data.size(1) * weight.data[0][0].numel()
        return weight * sqrt(2 / fan_in)

    @staticmethod
    def apply(module, name):
        fn = EqualLR(name)
        weight = getattr(module, name)
        del module._parameters[name]
        module.register_parameter(name + '_orig', nn.Parameter(weight.data))
        module.register_forward_pre_hook(fn)
        return fn

    def __call__(self, module, input):
        weight = self.compute_weight(module)
        setattr(module, self.name, weight)


class EqualLinear(nn.Module):
    def __init__(self, in_dim, out_dim):
        super().__init__()
        linear = nn.Linear(in_dim, out_dim)
        linear.weight.data.normal_()
        linear.bias.data.zero_()
        self.linear = equal_lr(linear)

    def forward(self, input):
        return self.linear(input)


def equal_lr(module, name='weight'):
    EqualLR.apply(module, name)
    return module


class AdaptiveInstanceNorm(nn.Module):
    def __init__(self, in_channel, style_dim):
        super().__init__()
        self.norm = nn.InstanceNorm2d(in_channel)
        self.style = EqualLinear(style_dim, in_channel * 2)
        self.style.linear.bias.data[:in_channel] = 1
        self.style.linear.bias.data[in_channel:] = 0

    def forward(self, input, style):
        style = self.style(style).unsqueeze(2).unsqueeze(3)
        gamma, beta = style.chunk(2, 1)
        out = self.norm(input)
        out = gamma * out + beta
        return out


# Build ARGS with valid parameter values
in_channel = 4
style_dim = 3

ARGS = {
    'in_channel': in_channel,
    'style_dim': style_dim,
}
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 AdaptiveInstanceNorm — 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 AdaptiveInstanceNorm 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
AdaptiveInstanceNorm Ran
ran on a synthesized input · constructed an object; no result was computed
foamliu/StyleGAN-PyTorch/models.py
pointer only (licence: NONE) · get_code("156361168b4e496b")
How it ran

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

AddBias2D Ran
ran on a synthesized input · constructed an object; no result was computed
mgmk2/StyleGAN/src/model/stylegan/network.py
code served (permissive licence) · get_code("0eb79206fcbf9922")
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, AddBias2D: 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 tensorflow as tf
import numpy as np
from tensorflow.keras.layers import Conv2D, Conv2DTranspose, Dense, BatchNormalization, Layer, LeakyReLU, Reshape, Flatten, Lambda, RepeatVector, AveragePooling2D
from tensorflow.python.keras import initializers, regularizers, constraints
from tensorflow.python.ops import nn

ARGS = {
    'bias_initializer': 'zeros',
    'bias_regularizer': None,
    'bias_constraint': None,
    'name': 'add_bias_2d_layer',
    'trainable': True,
    'dtype': tf.float32,
}
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 AddBias2D — 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 AddBias2D 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
ApplyBias Ran
ran on a synthesized input · constructed an object; no result was computed
ialhashim/StyleGAN-Tensorflow2/stylegan.py
pointer only (licence: GPL-3.0) · get_code("ff91d9c6faaf4c1b")
How it ran

The body of this sample is withheld: GPL-3.0, as GitHub detects it on this paper's repository, ialhashim/StyleGAN-Tensorflow2, 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.

ApplyNoise Ran
ran on a synthesized input · constructed an object; no result was computed
ialhashim/StyleGAN-Tensorflow2/stylegan.py
pointer only (licence: GPL-3.0) · get_code("8bb710b7c6f0c776")
How it ran

The body of this sample is withheld: GPL-3.0, as GitHub detects it on this paper's repository, ialhashim/StyleGAN-Tensorflow2, 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.

ApplyNoise Ran
ran on a synthesized input · constructed an object; no result was computed
delta6189/Anime-Sketch-Colorizer/mymodels.py
pointer only (licence: NONE) · get_code("160ebc6dd13a4996")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, delta6189/Anime-Sketch-Colorizer 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 · constructed an object; no result was computed
Ipsedo/MusicGAN/music_gan/networks/generator.py
pointer only (licence: GPL-3.0) · get_code("84766fd3752f8c8e")
How it ran

The body of this sample is withheld: GPL-3.0, as GitHub detects it on this paper's repository, Ipsedo/MusicGAN, 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.

Blur Ran
ran on a synthesized input · constructed an object; no result was computed
avakong/stylegan-test/model.py
code served (permissive licence) · get_code("4046b1469925a2a5")
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, Blur: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
from torch import nn

torch.manual_seed(0)

ARGS = {
    "channel": 3
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Blur — 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 Blur 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
Blur Ran
ran on a synthesized input · constructed an object; no result was computed
akatigre/multi2one/models/stylegan2/model.py
pointer only (licence: NONE) · get_code("d4c4d796f13861b6")
How it ran

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

Blur Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
ialhashim/StyleGAN-Tensorflow2/stylegan.py
pointer only (licence: GPL-3.0) · get_code("e8bd68c2fc3f7fe8")
How it ran

The body of this sample is withheld: GPL-3.0, as GitHub detects it on this paper's repository, ialhashim/StyleGAN-Tensorflow2, 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.

Blur Ran
ran on a synthesized input · constructed an object; no result was computed
podgorskiy/StyleGAN_Blobless/net.py
pointer only (licence: NONE) · get_code("6837fabd83ca7637")
How it ran

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

Blur Ran
ran on a synthesized input · constructed an object; no result was computed
foamliu/StyleGAN-PyTorch/models.py
pointer only (licence: NONE) · get_code("bd9d686825de603e")
How it ran

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

Blur Ran
ran on a synthesized input · constructed an object; no result was computed
mgmk2/StyleGAN/src/model/stylegan/network.py
code served (permissive licence) · get_code("4051ac8a225165d0")
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, Blur: 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 numpy as np
import tensorflow as tf
from tensorflow.keras.layers import Conv2D, Conv2DTranspose, Dense, BatchNormalization, Layer, LeakyReLU, Reshape, Flatten, Lambda, RepeatVector, AveragePooling2D
from tensorflow.keras import backend as K
from tensorflow.python.ops import nn

# Create a small test input tensor
# Shape: (batch=2, height=4, width=3, channels=5)
test_input = tf.random.normal((2, 4, 3, 5), dtype=tf.float32)

ARGS = {
    'filter': (1, 2, 1),
    'normalize': True,
    'stride': 1,
    'name': 'blur_layer'
}
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 Blur — 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 Blur 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
Blur2d Ran
ran on a synthesized input · constructed an object; no result was computed
ayiyoh/style-gan-pytorch/networks/style_gan_net.py
pointer only (licence: NONE) · get_code("8549002a53241438")
How it ran

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

BlurFunction Ran
ran on a synthesized input · constructed an object; no result was computed
avakong/stylegan-test/model.py
code served (permissive licence) · get_code("5716f876dffec58b")
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, BlurFunction: 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.functional as F

torch.manual_seed(0)

# BlurFunction.forward expects:
# - input: tensor with shape [batch, channels, height, width]
# - kernel: convolution kernel
# - kernel_flip: flipped convolution kernel

# For F.conv2d to work with groups=input.shape[1], 
# the kernel must have shape [out_channels, in_channels_per_group, kH, kW]
# where out_channels must equal input.shape[1] when groups=input.shape[1]

batch_size = 2
num_channels = 4
height = 8
width = 8
kernel_size = 3

# Create input tensor
input_tensor = torch.randn(batch_size, num_channels, height, width)

# Create kernel with depthwise convolution shape
# For groups=num_channels, kernel shape should be [num_channels, 1, kernel_size, kernel_size]
kernel = torch.randn(num_channels, 1, kernel_size, kernel_size)

# Create kernel_flip (flipped version for backward pass)
kernel_flip = torch.randn(num_channels, 1, kernel_size, kernel_size)

ARGS = {
    'input': input_tensor,
    'kernel': kernel,
    'kernel_flip': kernel_flip
}
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 BlurFunction — 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 BlurFunction 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
BlurFunction Ran
ran on a synthesized input · constructed an object; no result was computed
foamliu/StyleGAN-PyTorch/models.py
pointer only (licence: NONE) · get_code("41f2c2a6ead03b35")
How it ran

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

BlurFunctionBackward Ran
ran on a synthesized input · constructed an object; no result was computed
avakong/stylegan-test/model.py
code served (permissive licence) · get_code("07eca8a3618f1ac7")
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, BlurFunctionBackward: 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.functional as F

torch.manual_seed(0)

# For BlurFunctionBackward.forward():
# - grad_output: input tensor with shape (batch, channels, height, width)
# - kernel: convolution kernel for the backward pass
# - kernel_flip: flipped kernel for the backward pass
# 
# The function calls:
# - F.conv2d(grad_output, kernel_flip, padding=1, groups=grad_output.shape[1])
# This requires:
#   - grad_output to be 4D (batch, channels, height, width)
#   - kernel_flip to be 4D (out_channels, in_channels/groups, kH, kW)
#   - groups=grad_output.shape[1], so out_channels must equal in_channels

# Create grad_output: (batch=2, channels=4, height=3, width=3)
grad_output = torch.randn(2, 4, 3, 3)

# Create kernel_flip and kernel: (out_channels=4, in_channels=1, kH=3, kW=3)
# With groups=4, each group processes 1 input channel -> 1 output channel
kernel_flip = torch.randn(4, 1, 3, 3)
kernel = torch.randn(4, 1, 3, 3)

ARGS = {
    "grad_output": grad_output,
    "kernel": kernel,
    "kernel_flip": kernel_flip,
}
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 BlurFunctionBackward — 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 BlurFunctionBackward 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
BlurFunctionBackward Ran
ran on a synthesized input · constructed an object; no result was computed
foamliu/StyleGAN-PyTorch/models.py
pointer only (licence: NONE) · get_code("34e20dbc10f59441")
How it ran

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

BlurLayer Ran
ran on a synthesized input · constructed an object; no result was computed
yuzq97/starter_project/models/stylegan_generator_model.py
pointer only (licence: NONE) · get_code("e03382f6dd5bb7ac")
How it ran

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

BlurLayer Ran
ran on a synthesized input · constructed an object; no result was computed
huangzh13/StyleGAN.pytorch/models/GAN.py
pointer only (licence: NOASSERTION) · get_code("e530299bc7101c9d")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, huangzh13/StyleGAN.pytorch (NOASSERTION). 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.

BlurLayer Ran
ran on a synthesized input
hejj16/Landscape-StyleGAN/models/models.py
code served (permissive licence) · get_code("ca900b49c522963b")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, class construct-then-call prompt, model not recorded) and returned Tensor, ndim 4, dtype family float, shape (2, 4, 8, 6) 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
from torch import nn
import torch.nn.functional as F

class BlurLayer(nn.Module):

    def __init__(self, kernel=None, normalize=True, flip=False, stride=1):
        super(BlurLayer, self).__init__()
        if kernel is None:
            kernel = [1, 2, 1]
        kernel = torch.tensor(kernel, dtype=torch.float32)
        kernel = kernel[:, None] * kernel[None, :]
        kernel = kernel[None, None]
        if normalize:
            kernel = kernel / kernel.sum()
        if flip:
            kernel = kernel[:, :, ::-1, ::-1]
        self.register_buffer('kernel', kernel)
        self.stride = stride

    def forward(self, x):
        kernel = self.kernel.expand(x.size(1), -1, -1, -1)
        x = F.conv2d(x, kernel, stride=self.stride, padding=int((self.kernel.size(2) - 1) / 2), groups=x.size(1))
        return x


INIT_ARGS = {
    'kernel': [1, 2, 1],
    'normalize': True,
    'flip': False,
    'stride': 1
}

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

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

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

ConditionalGANLoss Ran
ran on a synthesized input · constructed an object; no result was computed
huangzh13/StyleGAN.pytorch/models/GAN.py
pointer only (licence: NOASSERTION) · get_code("4477ee234060dfc3")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, huangzh13/StyleGAN.pytorch (NOASSERTION). 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.

Const Ran
ran on a synthesized input · constructed an object; no result was computed
ialhashim/StyleGAN-Tensorflow2/stylegan.py
pointer only (licence: GPL-3.0) · get_code("3adffe5a61209a72")
How it ran

The body of this sample is withheld: GPL-3.0, as GitHub detects it on this paper's repository, ialhashim/StyleGAN-Tensorflow2, 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.

ConstantInput Ran
ran on a synthesized input · constructed an object; no result was computed
avakong/stylegan-test/model.py
code served (permissive licence) · get_code("06e9388b72d3909f")
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, ConstantInput: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
from torch import nn

torch.manual_seed(0)

ARGS = {
    'channel': 16,
    'size': 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 ConstantInput — 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 ConstantInput 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
ConstantInput Ran
ran on a synthesized input
QuangBK/cStyleGAN/model_face_UTK.py
pointer only (licence: NONE) · get_code("b27359496757f63c")
How it ran

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

ConstrainedLayer Ran
ran on a synthesized input · constructed an object; no result was computed
ayiyoh/style-gan-pytorch/networks/style_gan_net.py
pointer only (licence: NONE) · get_code("bd56d55302a24570")
How it ran

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

Conv2DM Ran
ran on a synthesized input · constructed an object; no result was computed
RyanWu2233/Style_GAN2_FFHQ/SG2_model.py
pointer only (licence: NONE) · get_code("05bac88f2a8760c1")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, RyanWu2233/Style_GAN2_FFHQ 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 on a synthesized input · constructed an object; no result was computed
ialhashim/StyleGAN-Tensorflow2/stylegan.py
pointer only (licence: GPL-3.0) · get_code("2e76d2c6f82316e7")
How it ran

The body of this sample is withheld: GPL-3.0, as GitHub detects it on this paper's repository, ialhashim/StyleGAN-Tensorflow2, 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.

Conv2d Ran
ran on a synthesized input · constructed an object; no result was computed
podgorskiy/StyleGAN_Blobless/net.py
pointer only (licence: NONE) · get_code("013751315bd5d53c")
How it ran

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

Conv2dBias Ran
ran on a synthesized input · constructed an object; no result was computed
sidward14/gan-lab/gan_lab/stylegan/architectures.py
code served (permissive licence) · get_code("bed160850c2e4cea")
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, Conv2dBias: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. The code mentions cuda, and the harness aliases cuda to the CPU for every sample; whether this run needed that is not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
from torch import nn

torch.manual_seed(0)

ARGS = {
    'nf': 16,
    'lrmul': 1.5,
    'device': 'cpu'
}
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 Conv2dBias — 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 Conv2dBias 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
Conv2dBlock Ran
ran on a synthesized input · constructed an object; no result was computed
jiazhi412/strong_attribute_bias/models_train/module/Generator.py
code served (permissive licence) · get_code("263c191a29f3f592")
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, Conv2dBlock: 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 = {
    'n_in': 3,
    'n_out': 16,
    'kernel_size': 3,
    'stride': 1,
    'padding': 1,
    'norm_fn': 'batchnorm',
    'acti_fn': 'relu'
}
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 Conv2dBlock — 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 Conv2dBlock 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
Conv2dEx Ran
ran on a synthesized input · constructed an object; no result was computed
sidward14/gan-lab/gan_lab/stylegan/architectures.py
code served (permissive licence) · get_code("f3ab06aa730feb5b")
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, Conv2dEx: 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 numpy as np
from torch import nn

torch.manual_seed(0)

ARGS = {
    'ni': 3,
    'nf': 16,
    'ks': 3,
    'stride': 1,
    'padding': 1,
    'groups': 1,
    'init': 'he',
    'init_type': 'default',
    'gain_sq_base': 2.0,
    'equalized_lr': False,
    'lrmul': 1.0,
    'include_bias': True,
}
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 Conv2dEx — 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 Conv2dEx 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_WS Ran
ran on a synthesized input · constructed an object; no result was computed
delta6189/Anime-Sketch-Colorizer/mymodels.py
pointer only (licence: NONE) · get_code("6cbb4f81a42baa71")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, delta6189/Anime-Sketch-Colorizer 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_transpose Ran
ran on a synthesized input · constructed an object; no result was computed
ialhashim/StyleGAN-Tensorflow2/stylegan.py
pointer only (licence: GPL-3.0) · get_code("35d69f4aa7b81f5d")
How it ran

The body of this sample is withheld: GPL-3.0, as GitHub detects it on this paper's repository, ialhashim/StyleGAN-Tensorflow2, 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.

ConvBlock Ran
ran on a synthesized input · constructed an object; no result was computed
hichoe95/Artifact-Detection-and-Sequential-Ablation/models/stylegan2_generator.py
code served (permissive licence) · get_code("9a03e250de422b72")
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, ConvBlock: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

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

torch.manual_seed(0)

ARGS = {
    'in_channels': 3,
    'out_channels': 16,
    'kernel_size': 3,
    'add_bias': True,
    'scale_factor': 1,
    'filtering_kernel': (1, 3, 3, 1),
    'use_wscale': True,
    'wscale_gain': 1.0,
    'lr_mul': 1.0,
    'activation_type': 'lrelu'
}
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 ConvBlock — 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 ConvBlock 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
ConvTranspose2d Ran
ran on a synthesized input · constructed an object; no result was computed
podgorskiy/StyleGAN_Blobless/net.py
pointer only (licence: NONE) · get_code("3c715fe8f6a1cb48")
How it ran

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

ConvTranspose2dBlock Ran
ran on a synthesized input · constructed an object; no result was computed
jiazhi412/strong_attribute_bias/models_train/module/Generator.py
code served (permissive licence) · get_code("84d5c687e487faf3")
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, ConvTranspose2dBlock: 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 = {
    'n_in': 3,
    'n_out': 16,
    'kernel_size': 3,
    'stride': 1,
    'padding': 0,
    'norm_fn': 'batchnorm',
    'acti_fn': 'relu'
}
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 ConvTranspose2dBlock — 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 ConvTranspose2dBlock 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
DenseBlock Ran
ran on a synthesized input · constructed an object; no result was computed
yuzq97/starter_project/models/stylegan_generator_model.py
pointer only (licence: NONE) · get_code("6301a0559f412840")
How it ran

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

DenseBlock Ran
ran on a synthesized input · constructed an object; no result was computed
hichoe95/Artifact-Detection-and-Sequential-Ablation/models/stylegan2_generator.py
code served (permissive licence) · get_code("7d9025c41aaaae1c")
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, DenseBlock: 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 numpy as np
import torch
import torch.nn as nn

torch.manual_seed(0)

ARGS = {
    'in_channels': 4,
    'out_channels': 3,
    'add_bias': True,
    'additional_bias': 0,
    'use_wscale': True,
    'wscale_gain': 1.0,
    'lr_mul': 1.0,
    'activation_type': 'lrelu'
}
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 DenseBlock — 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 DenseBlock 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
Downscale2d Ran
ran on a synthesized input · constructed an object; no result was computed
huangzh13/StyleGAN.pytorch/models/GAN.py
pointer only (licence: NOASSERTION) · get_code("429bf9c9dfa94574")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, huangzh13/StyleGAN.pytorch (NOASSERTION). 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.

Downscale2d Ran
ran on a synthesized input
hejj16/Landscape-StyleGAN/models/models.py
code served (permissive licence) · get_code("8a90329783ca3526")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, class construct-then-call prompt, model not recorded) and returned Tensor, ndim 4, dtype family float, shape (2, 4, 4, 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
from torch import nn
import torch.nn.functional as F

class BlurLayer(nn.Module):

    def __init__(self, kernel=None, normalize=True, flip=False, stride=1):
        super(BlurLayer, self).__init__()
        if kernel is None:
            kernel = [1, 2, 1]
        kernel = torch.tensor(kernel, dtype=torch.float32)
        kernel = kernel[:, None] * kernel[None, :]
        kernel = kernel[None, None]
        if normalize:
            kernel = kernel / kernel.sum()
        if flip:
            kernel = kernel[:, :, ::-1, ::-1]
        self.register_buffer('kernel', kernel)
        self.stride = stride

    def forward(self, x):
        kernel = self.kernel.expand(x.size(1), -1, -1, -1)
        x = F.conv2d(x, kernel, stride=self.stride, padding=int((self.kernel.size(2) - 1) / 2), groups=x.size(1))
        return x

class Downscale2d(nn.Module):

    def __init__(self):
        super().__init__()
        factor = 2
        f = [1 / factor] * factor
        self.blur = BlurLayer(kernel=f, normalize=False, stride=factor)

    def forward(self, x):
        return self.blur(x)


INIT_ARGS = {}

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

if __name__ == '__main__':
    model = Downscale2d(**INIT_ARGS)
    output = model(**ARGS)
    print(f"Input shape: {ARGS['x'].shape}")
    print(f"Output shape: {output.shape}")
Setup block drafted by
a language model, class construct-then-call prompt, model not recorded
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 4, dtype family float, shape (2, 4, 4, 3) — shape (2, 4, 4, 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: torch and numpy seeded to 0 by the harness immediately before the class was constructed from INIT_ARGS (fixture_check.py)
Early_StyleConv_Block Ran
ran on a synthesized input · constructed an object; no result was computed
sergkuzn148/stg/sgan.py
code served (permissive licence) · get_code("5471a6ce0a234cfe")
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, Early_StyleConv_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
import math

torch.manual_seed(0)

class AdaIn(nn.Module):
    """
    adaptive instance normalization
    """

    def __init__(self, n_channel):
        super().__init__()
        self.norm = nn.InstanceNorm2d(n_channel)

    def forward(self, image, style):
        factor, bias = style.chunk(2, 1)
        result = self.norm(image)
        result = result * factor + bias
        return result

class FC_A(nn.Module):
    """
    Learned affine transform A, this module is used to transform
    midiate vector w into a style vector
    """

    def __init__(self, dim_latent, n_channel):
        super().__init__()
        self.transform = SLinear(dim_latent, n_channel * 2)
        self.transform.linear.bias.data[:n_channel] = 1
        self.transform.linear.bias.data[n_channel:] = 0

    def forward(self, w):
        style = self.transform(w).unsqueeze(2).unsqueeze(3)
        return style

class SConv2d(nn.Module):

    def __init__(self, *args, **kwargs):
        super().__init__()
        conv = nn.Conv2d(*args, **kwargs)
        conv.weight.data.normal_()
        conv.bias.data.zero_()
        self.conv = quick_scale(conv)

    def forward(self, x):
        return self.conv(x)

class SLinear(nn.Module):

    def __init__(self, dim_in, dim_out):
        super().__init__()
        linear = nn.Linear(dim_in, dim_out)
        linear.weight.data.normal_()
        linear.bias.data.zero_()
        self.linear = quick_scale(linear)

    def forward(self, x):
        return self.linear(x)

class ScaleW:
    """
    Constructor: name - name of attribute to be scaled
    """

    def __init__(self, name):
        self.name = name

    def scale(self, module):
        weight = getattr(module, self.name + '_orig')
        fan_in = weight.data.size(1) * weight.data[0][0].numel()
        return weight * math.sqrt(2 / fan_in)

    @staticmethod
    def apply(module, name):
        """
        Apply runtime scaling to specific module
        """
        hook = ScaleW(name)
        weight = getattr(module, name)
        module.register_parameter(name + '_orig', nn.Parameter(weight.data))
        del module._parameters[name]
        module.register_forward_pre_hook(hook)

    def __call__(self, module, whatever):
        weight = self.scale(module)
        setattr(module, self.name, weight)

class Scale_B(nn.Module):
    """
    Learned per-channel scale factor, used to scale the noise
    """

    def __init__(self, n_channel):
        super().__init__()
        self.weight = nn.Parameter(torch.zeros((1, n_channel, 1, 1)))

    def forward(self, noise):
        result = noise * self.weight
        return result

def quick_scale(module, name='weight'):
    ScaleW.apply(module, name)
    return module

class Early_StyleConv_Block(nn.Module):
    """
    This is the very first block of generator that get the constant value as input
    """

    def __init__(self, n_channel, dim_latent, dim_input):
        super().__init__()
        self.constant = nn.Parameter(torch.randn(1, n_channel, dim_input, dim_input))
        self.style1 = FC_A(dim_latent, n_channel)
        self.style2 = FC_A(dim_latent, n_channel)
        self.noise1 = quick_scale(Scale_B(n_channel))
        self.noise2 = quick_scale(Scale_B(n_channel))
        self.adain = AdaIn(n_channel)
        self.lrelu = nn.LeakyReLU(0.2)
        self.conv = SConv2d(n_channel, n_channel, 3, padding=1)

    def forward(self, latent_w, noise):
        result = self.constant.repeat(noise.shape[0], 1, 1, 1)
        result = result + self.noise1(noise)
        result = self.adain(result, self.style1(latent_w))
        result = self.lrelu(result)
        result = self.conv(result)
        result = result + self.noise2(noise)
        result = self.adain(result, self.style2(latent_w))
        result = self.lrelu(result)
        return result

n_channel = 8
dim_latent = 512
dim_input = 4

latent_w = torch.randn(2, dim_latent)
noise = torch.randn(2, n_channel, dim_input, dim_input)

ARGS = {
    "n_channel": n_channel,
    "dim_latent": dim_latent,
    "dim_input": dim_input
}
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 Early_StyleConv_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 Early_StyleConv_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
Early_StyleConv_Block Ran
ran on a synthesized input
SiskonEmilia/StyleGAN-PyTorch/model.py
code served (permissive licence) · get_code("9be9920d3e786c63")
How it ran

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

import torch
import torch.nn as nn
import math

class AdaIn(nn.Module):
    """
    adaptive instance normalization
    """

    def __init__(self, n_channel):
        super().__init__()
        self.norm = nn.InstanceNorm2d(n_channel)

    def forward(self, image, style):
        factor, bias = style.chunk(2, 1)
        result = self.norm(image)
        result = result * factor + bias
        return result

class FC_A(nn.Module):
    """
    Learned affine transform A, this module is used to transform
    midiate vector w into a style vector
    """

    def __init__(self, dim_latent, n_channel):
        super().__init__()
        self.transform = SLinear(dim_latent, n_channel * 2)
        self.transform.linear.bias.data[:n_channel] = 1
        self.transform.linear.bias.data[n_channel:] = 0

    def forward(self, w):
        style = self.transform(w).unsqueeze(2).unsqueeze(3)
        return style

class SConv2d(nn.Module):

    def __init__(self, *args, **kwargs):
        super().__init__()
        conv = nn.Conv2d(*args, **kwargs)
        conv.weight.data.normal_()
        conv.bias.data.zero_()
        self.conv = quick_scale(conv)

    def forward(self, x):
        return self.conv(x)

class SLinear(nn.Module):

    def __init__(self, dim_in, dim_out):
        super().__init__()
        linear = nn.Linear(dim_in, dim_out)
        linear.weight.data.normal_()
        linear.bias.data.zero_()
        self.linear = quick_scale(linear)

    def forward(self, x):
        return self.linear(x)

class ScaleW:
    """
    Constructor: name - name of attribute to be scaled
    """

    def __init__(self, name):
        self.name = name

    def scale(self, module):
        weight = getattr(module, self.name + '_orig')
        fan_in = weight.data.size(1) * weight.data[0][0].numel()
        return weight * math.sqrt(2 / fan_in)

    @staticmethod
    def apply(module, name):
        """
        Apply runtime scaling to specific module
        """
        hook = ScaleW(name)
        weight = getattr(module, name)
        module.register_parameter(name + '_orig', nn.Parameter(weight.data))
        del module._parameters[name]
        module.register_forward_pre_hook(hook)

    def __call__(self, module, whatever):
        weight = self.scale(module)
        setattr(module, self.name, weight)

class Scale_B(nn.Module):
    """
    Learned per-channel scale factor, used to scale the noise
    """

    def __init__(self, n_channel):
        super().__init__()
        self.weight = nn.Parameter(torch.zeros((1, n_channel, 1, 1)))

    def forward(self, noise):
        result = noise * self.weight
        return result

def quick_scale(module, name='weight'):
    ScaleW.apply(module, name)
    return module

class Early_StyleConv_Block(nn.Module):
    """
    This is the very first block of generator that get the constant value as input
    """

    def __init__(self, n_channel, dim_latent, dim_input):
        super().__init__()
        self.constant = nn.Parameter(torch.randn(1, n_channel, dim_input, dim_input))
        self.style1 = FC_A(dim_latent, n_channel)
        self.style2 = FC_A(dim_latent, n_channel)
        self.noise1 = quick_scale(Scale_B(n_channel))
        self.noise2 = quick_scale(Scale_B(n_channel))
        self.adain = AdaIn(n_channel)
        self.lrelu = nn.LeakyReLU(0.2)
        self.conv = SConv2d(n_channel, n_channel, 3, padding=1)

    def forward(self, latent_w, noise):
        result = self.constant.repeat(noise.shape[0], 1, 1, 1)
        result = result + self.noise1(noise)
        result = self.adain(result, self.style1(latent_w))
        result = self.lrelu(result)
        result = self.conv(result)
        result = result + self.noise2(noise)
        result = self.adain(result, self.style2(latent_w))
        result = self.lrelu(result)
        return result

INIT_ARGS = {
    'n_channel': 8,
    'dim_latent': 12,
    'dim_input': 4
}

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

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

EqualConv2d Ran
ran on a synthesized input · constructed an object; no result was computed
avakong/stylegan-test/model.py
code served (permissive licence) · get_code("13de47a951323c8f")
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, EqualConv2d: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn
from math import sqrt

torch.manual_seed(0)

# EqualConv2d.__init__ calls nn.Conv2d(*args, **kwargs)
# nn.Conv2d signature: Conv2d(in_channels, out_channels, kernel_size, ...)
# The function uses the conv module and calls equal_lr on it
# equal_lr calls EqualLR.apply which accesses weight and registers forward_pre_hook
# compute_weight accesses weight.data.size(1) and weight.data[0][0].numel()
# forward method needs to accept input tensor

ARGS = {
    'in_channels': 3,
    'out_channels': 4,
    'kernel_size': 3,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type EqualConv2d — 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 EqualConv2d 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
EqualConv2d Ran
ran on a synthesized input · constructed an object; no result was computed
foamliu/StyleGAN-PyTorch/models.py
pointer only (licence: NONE) · get_code("445df09cf6c8ba3e")
How it ran

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

EqualLR Ran
ran on a synthesized input · constructed an object; no result was computed
foamliu/StyleGAN-PyTorch/models.py
pointer only (licence: NONE) · get_code("15c9f100ff159e87")
How it ran

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

EqualLinear Ran
ran on a synthesized input · constructed an object; no result was computed
avakong/stylegan-test/model.py
code served (permissive licence) · get_code("da19375a39698263")
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, EqualLinear: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn
from math import sqrt

torch.manual_seed(0)

# EqualLinear takes two parameters: in_dim and out_dim
# These are integers representing input and output dimensions

ARGS = {
    'in_dim': 4,
    'out_dim': 3,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type EqualLinear — 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 EqualLinear 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
EqualLinear Ran
ran on a synthesized input · constructed an object; no result was computed
akatigre/multi2one/models/stylegan2/model.py
pointer only (licence: NONE) · get_code("28c0b491431f53a3")
How it ran

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

EqualLinear Ran
ran on a synthesized input · constructed an object; no result was computed
foamliu/StyleGAN-PyTorch/models.py
pointer only (licence: NONE) · get_code("52304e6c7a8009aa")
How it ran

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

EqualizedConv2d Ran
ran on a synthesized input · constructed an object; no result was computed
ayiyoh/style-gan-pytorch/networks/style_gan_net.py
pointer only (licence: NONE) · get_code("c88ba746a3ab344c")
How it ran

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

EqualizedConv2d Ran
ran on a synthesized input · constructed an object; no result was computed
huangzh13/StyleGAN.pytorch/models/GAN.py
pointer only (licence: NOASSERTION) · get_code("92c791d086f17791")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, huangzh13/StyleGAN.pytorch (NOASSERTION). 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.

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

Also present in other papers' code

Of 396 samples lifted from this paper's linked repositories, 396 carry a function identity and 0 do not. Of the 371 distinct functions with an identity, 35 are also present in other papers whose code we hold (9 with at least one paper dated earlier, 0 the same month, 34 later) and 336 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
Blur
brick of this paper's assembly: helper
10 other papers
10 later · 4 only as an assembly brick
2101.02477 (2021-01)
GAN-Control: Explicitly Controllable GANs
2103.17249 (2021-03)
StyleCLIP: Text-Driven Manipulation of StyleGAN Imagery
2104.06820 (2021-04)
Few-shot Image Generation via Cross-domain Correspondence
and 7 more not named here
equal_lr
brick of this paper's assembly: helper
10 other papers
2 dated earlier, 8 later · 1 only as an assembly brick
1710.10196 (2017-10)
Progressive Growing of GANs for Improved Quality, Stability, and Variation
1804.07723 (2018-04)
Image Inpainting for Irregular Holes Using Partial Convolutions
2004.05571 (2020-04)
Cross-domain Correspondence Learning for Exemplar-based Image Translation
and 7 more not named here
NoiseInjection
brick of this paper's assembly: model
9 other papers
9 later · 7 only as an assembly brick
2101.02477 (2021-01)
GAN-Control: Explicitly Controllable GANs
2103.17249 (2021-03)
StyleCLIP: Text-Driven Manipulation of StyleGAN Imagery
2104.06820 (2021-04)
Few-shot Image Generation via Cross-domain Correspondence
and 6 more not named here
ConstantInput
brick of this paper's assembly: helper, model
8 other papers
8 later · 5 only as an assembly brick
2101.02477 (2021-01)
GAN-Control: Explicitly Controllable GANs
2103.17249 (2021-03)
StyleCLIP: Text-Driven Manipulation of StyleGAN Imagery
2104.06820 (2021-04)
Few-shot Image Generation via Cross-domain Correspondence
and 5 more not named here
EqualLinear
brick of this paper's assembly: helper
8 other papers
8 later
2101.02477 (2021-01)
GAN-Control: Explicitly Controllable GANs
2103.17249 (2021-03)
StyleCLIP: Text-Driven Manipulation of StyleGAN Imagery
2104.02699 (2021-04)
ReStyle: A Residual-Based StyleGAN Encoder via Iterative Refinement
and 5 more not named here
Upsample
brick of this paper's assembly: helper
8 other papers
8 later · 3 only as an assembly brick
2101.02477 (2021-01)
GAN-Control: Explicitly Controllable GANs
2103.17249 (2021-03)
StyleCLIP: Text-Driven Manipulation of StyleGAN Imagery
2104.06820 (2021-04)
Few-shot Image Generation via Cross-domain Correspondence
and 5 more not named here
lerp
brick of this paper's assembly: helper
7 other papers
2 dated earlier, 5 later
1710.10196 (2017-10)
Progressive Growing of GANs for Improved Quality, Stability, and Variation
1802.08797 (2018-02)
Residual Dense Network for Image Super-Resolution
1909.03935 (2019-09)
GAN-Leaks: A Taxonomy of Membership Inference Attacks against Generative Models
and 4 more not named here
upscale2d
brick of this paper's assembly: helper
6 other papers
1 dated earlier, 5 later
1807.07543 (2018-07)
Understanding and Improving Interpolation in Autoencoders via an Adversarial Regularizer
2310.01174 (2023-10)
Light Schrödinger Bridge
2402.03207 (2024-02)
Light and Optimal Schrödinger Bridge Matching
and 3 more not named here
FusedLeakyReLU
brick of this paper's assembly: helper
5 other papers
5 later · 1 only as an assembly brick
2103.17249 (2021-03)
StyleCLIP: Text-Driven Manipulation of StyleGAN Imagery
2104.06820 (2021-04)
Few-shot Image Generation via Cross-domain Correspondence
2107.06256 (2021-07)
Retrieve in Style: Unsupervised Facial Feature Transfer and Retrieval
and 2 more not named here
style_mod
brick of this paper's assembly: model
5 other papers
5 later
2310.01174 (2023-10)
Light Schrödinger Bridge
2402.03207 (2024-02)
Light and Optimal Schrödinger Bridge Matching
2511.06856 (2025-11)
Contact Wasserstein Geodesics for Non-Conservative Schrödinger Bridges
and 2 more not named here
cset
brick of this paper's assembly: helper
3 other papers
2 dated earlier, 1 later
1710.10196 (2017-10)
Progressive Growing of GANs for Improved Quality, Stability, and Variation
1802.08797 (2018-02)
Residual Dense Network for Image Super-Resolution
1909.03935 (2019-09)
GAN-Leaks: A Taxonomy of Membership Inference Attacks against Generative Models
get_temp_logger
brick of this paper's assembly: helper
3 other papers
3 later
1911.09267 (2019-11)
Semantic Hierarchy Emerges in Deep Generative Representations for Scene Synthesis
2004.00049 (2020-04)
In-Domain GAN Inversion for Real Image Editing
2104.08910 (2021-04)
Towards Open-World Text-Guided Face Image Generation and Manipulation
lerp_clip
brick of this paper's assembly: helper
3 other papers
2 dated earlier, 1 later
1710.10196 (2017-10)
Progressive Growing of GANs for Improved Quality, Stability, and Variation
1802.08797 (2018-02)
Residual Dense Network for Image Super-Resolution
1909.03935 (2019-09)
GAN-Leaks: A Taxonomy of Membership Inference Attacks against Generative Models
quick_scale
brick of this paper's assembly: helper
3 other papers
3 dated earlier
1706.08500 (2017-06)
GANs Trained by a Two Time-Scale Update Rule Converge to a Local Nash Equilibrium
1710.10196 (2017-10)
Progressive Growing of GANs for Improved Quality, Stability, and Variation
1801.04406 (2018-01)
Which Training Methods for GANs do actually Converge?
EqualLR
brick of this paper's assembly: helper
2 other papers
2 later · 1 only as an assembly brick
2103.16146 (2021-03)
Diagonal Attention and Style-based GAN for Content-Style Disentanglement in Image Generation and Translation
2204.01046 (2022-04)
Style-Based Global Appearance Flow for Virtual Try-On
EqualLinear
brick of this paper's assembly: helper, model
2 other papers
2 later · 1 only as an assembly brick
2103.16146 (2021-03)
Diagonal Attention and Style-based GAN for Content-Style Disentanglement in Image Generation and Translation
2204.01046 (2022-04)
Style-Based Global Appearance Flow for Virtual Try-On
EqualizedLinear
brick of this paper's assembly: helper
2 other papers
1 dated earlier, 1 later · 1 only as an assembly brick
1807.03748 (2018-07)
Representation Learning with Contrastive Predictive Coding
2106.06056 (2021-06)
Progressive-Scale Boundary Blackbox Attack via Projective Gradient Estimation
Generator
brick of this paper's assembly: entry
2 other papers
2 later
2103.17249 (2021-03)
StyleCLIP: Text-Driven Manipulation of StyleGAN Imagery
2306.13091 (2023-06)
Evading Forensic Classifiers with Attribute-Conditioned Adversarial Faces
ModulatedConv2d
brick of this paper's assembly: model
2 other papers
2 later
2103.17249 (2021-03)
StyleCLIP: Text-Driven Manipulation of StyleGAN Imagery
2306.13091 (2023-06)
Evading Forensic Classifiers with Attribute-Conditioned Adversarial Faces
StyledConv
brick of this paper's assembly: model
2 other papers
2 later
2103.17249 (2021-03)
StyleCLIP: Text-Driven Manipulation of StyleGAN Imagery
2306.13091 (2023-06)
Evading Forensic Classifiers with Attribute-Conditioned Adversarial Faces

Shown: the 20 functions present in the most other papers. 15 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 propose an alternative generator architecture for generative adversarial networks, borrowing from style transfer literature. The new architecture leads to an automatically learned, unsupervised separation of high-level attributes (e.g., pose and identity when trained on human faces) and stochastic variation in the generated images (e.g., freckles, hair), and it enables intuitive, scale-specific control of the synthesis. The new generator improves the state-of-the-art in terms of traditional distribution quality metrics, leads to demonstrably better interpolation properties, and also better disentangles the latent factors of variation. To quantify interpolation quality and disentanglement, we propose two new, automated methods that are applicable to any generator architecture. Finally, we introduce a new, highly varied and high-quality dataset of human faces.

For agents

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

get_harvested_code_for_paper("1812.04948")
get_code_for_paper("1812.04948")
have("1812.04948")

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

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

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

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

Connect an agent — have() is free.