SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 1312.6114 · ICLR · 2013

Auto-Encoding Variational Bayes

Max Welling, Diederik Kingma

arXiv · PDF · Open in the Atlas

Code that ran

140 of 199 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (52 of them constructed an object rather than computing a result; 4 honoured the contract we drafted, 2 violated it and 108 have no contract verdict; 26 failures of our instrument; 59 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/1312.6114.json · badge: /api/ran/1312.6114.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
LynnHo/VAE-Tensorflow community (classifier label)
classifier basis not recorded on the link
10 ran · 4 no recorded run
cianeastwood/qedr community (classifier label)
classifier basis not recorded on the link
8 ran · 0 no recorded run
agrija9/Wind-Turbine-Anomaly-Detection-VRAE community (classifier label)
classifier basis not recorded on the link
7 ran · 0 no recorded run
microsoft/recommenders community
not in the paper's declared repositories
6 ran · 6 no recorded run
kpandey008/DiffuseVAE community
not in the paper's declared repositories
6 ran · 3 no recorded run
hrbigelow/draw community
not in the paper's declared repositories
5 ran · 2 no recorded run
vimlord/torchrosa-tts community
not in the paper's declared repositories
4 ran · 1 no recorded run
alexbooth/Beta-VAE-Tensorflow-2.0 community
not in the paper's declared repositories
4 ran · 0 no recorded run
hse-cs/probaforms community
not in the paper's declared repositories
4 ran · 0 no recorded run
timbmg/VAE-CVAE-MNIST community
not in the paper's declared repositories
4 ran · 0 no recorded run
GiuliaLavizzari/ML4thesis community
Papers with Code archive
4 ran · 0 no recorded run
kngwyu/pytorch-autoencoders community
not in the paper's declared repositories
3 ran · 3 no recorded run
nghorbani/human_body_prior community
not in the paper's declared repositories
3 ran · 2 no recorded run
GuHongyang/VAEs community
Papers with Code archive
3 ran · 1 no recorded run
adrianjav/heterogeneous_vaes community
not in the paper's declared repositories
3 ran · 1 no recorded run
maxfrenzel/CompressionVAE community
not in the paper's declared repositories
3 ran · 1 no recorded run
tungkw/VAE community
not in the paper's declared repositories
3 ran · 0 no recorded run
leokster/CVAE community
not in the paper's declared repositories
3 ran · 0 no recorded run
chandu-97/BayesByBackprop community
not in the paper's declared repositories
3 ran · 0 no recorded run
sooooner/MNIST-VAE-with-tensorflow2 community
not in the paper's declared repositories
3 ran · 0 no recorded run
ethanluoyc/pytorch-vae community
not in the paper's declared repositories
3 ran · 0 no recorded run
KrishnaTarun/Deep-Learning-Lab community
Papers with Code archive
3 ran · 0 no recorded run
RoboticsDesignLab/jitterbug community
Papers with Code archive
3 ran · 0 no recorded run
arahosu/musicslots community
not in the paper's declared repositories
3 ran · 0 no recorded run
la3ma/IWAE-torch community
not in the paper's declared repositories
3 ran · 0 no recorded run
FunctionStatusWhere it lives
AEVB Ran
ran on a synthesized input · constructed an object; no result was computed
tungkw/VAE/src/VAE_model.py
code served (permissive licence) · get_code("67d5bee7435f8bcd")
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, AEVB: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. The code mentions cuda, and the harness aliases cuda to the CPU for every sample; whether this run needed that is not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

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

torch.manual_seed(0)

# Define ARGS dict with all parameters for AEVB.__init__
ARGS = {
    'sample_dim': 4,
    'latent_dim': 3,
    'hidden_dim': 5,
    'data': 'FreyFace'
}
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 AEVB — 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 AEVB 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
AddSamplingAxis Ran
ran on a synthesized input · constructed an object; no result was computed
leokster/CVAE/variational_autoencoder/models.py
code served (permissive licence) · get_code("5cd36a7e932b5b43")
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, AddSamplingAxis: 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

# Create a small test tensor
test_tensor = tf.constant(np.random.randn(2, 4).astype(np.float32))

# Define ARGS dict with all parameters for AddSamplingAxis.__init__
ARGS = {
    'sampling': 'flattened'
}
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 AddSamplingAxis — 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 AddSamplingAxis 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
AttnWindow Ran
ran on a synthesized input
hrbigelow/draw/draw.py
pointer only (licence: NONE) · get_code("7780f12cad72f1c9")
How it ran

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

BBBLinear Ran
ran on a synthesized input · constructed an object; no result was computed
chandu-97/BayesByBackprop/layers/mlp.py
pointer only (licence: NONE) · get_code("d799f3065f84fe50")
How it ran

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

BatchFlatten Ran
ran on a synthesized input
nghorbani/human_body_prior/human_body_prior/models/vposer_model.py
pointer only (licence: NOASSERTION) · get_code("f05090314165f07f")
How it ran

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

BernoulliMLP Ran
ran on a synthesized input · constructed an object; no result was computed
tungkw/VAE/src/VAE_model.py
code served (permissive licence) · get_code("6d367217b7877f81")
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, BernoulliMLP: 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 = {
    'input_size': 4,
    'output_size': 3,
    'hidden_size': 8
}
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 BernoulliMLP — 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 BernoulliMLP 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
BernoulliVAE Ran
ran on a synthesized input
g4vrel/simple_ml/VAE/modules.py
code served (permissive licence) · get_code("09d795136728fabe")
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 tuple. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn

class BernoulliVAE(nn.Module):

    def __init__(self, input_dim, hidden_dim, latent_dim):
        super().__init__()
        self.encoder = nn.Sequential(nn.Linear(input_dim, hidden_dim), nn.ReLU())
        self.mu = nn.Linear(hidden_dim, latent_dim)
        self.log_sigma = nn.Linear(hidden_dim, latent_dim)
        self.decoder = nn.Sequential(nn.Linear(latent_dim, hidden_dim), nn.ReLU(), nn.Linear(hidden_dim, input_dim), nn.Sigmoid())

    def encode(self, x):
        h = self.encoder(x)
        return (self.mu(h), self.log_sigma(h))

    def decode(self, z):
        return self.decoder(z)

    def forward(self, x):
        x = x.flatten(1)
        mean, logvar = self.encode(x)
        logstd = 0.5 * logvar
        eps = torch.randn_like(mean)
        z = mean + eps * logstd.exp()
        pred = self.decode(z)
        return (pred, eps, z, mean, logvar)


INIT_ARGS = {
    'input_dim': 4,
    'hidden_dim': 8,
    'latent_dim': 3,
}

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

if __name__ == '__main__':
    model = BernoulliVAE(**INIT_ARGS)
    output = model(**ARGS)
    print("Output shapes:")
    print(f"  pred: {output[0].shape}")
    print(f"  eps: {output[1].shape}")
    print(f"  z: {output[2].shape}")
    print(f"  mean: {output[3].shape}")
    print(f"  logvar: {output[4].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 tuple — a tuple output has no array shape of its own; none is stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: torch and numpy seeded to 0 by the harness immediately before the class was constructed from INIT_ARGS (fixture_check.py)
BetaVAE Ran
ran on a synthesized input
alexbooth/Beta-VAE-Tensorflow-2.0/model.py
code served (permissive licence) · get_code("0aba0d05fcfe6522")
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 ndarray, ndim 4, dtype family float, shape (2, 64, 64, 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 numpy as np
import tensorflow as tf
from tensorflow.keras import Model
from tensorflow.keras.layers import Conv2D, Conv2DTranspose, Dense
from tensorflow.keras.layers import Flatten, Reshape, Input

def Conv(n_filters, filter_width, strides=2, activation='relu', name=None):
    return Conv2D(n_filters, filter_width, strides=strides, padding='same', activation=activation, name=name)

def Deconv(n_filters, filter_width, strides=2, activation='relu', name=None):
    return Conv2DTranspose(n_filters, filter_width, strides=strides, padding='same', activation=activation, name=name)

class Reparameterize(tf.keras.layers.Layer):
    """
    Custom layer.
     
    Reparameterization trick, sample random latent vectors Z from 
    the latent Gaussian distribution which has the following parameters 

    mean = Z_mu
    std = exp(0.5 * Z_logvar)
    """

    def call(self, inputs):
        Z_mu, Z_logvar = inputs
        epsilon = tf.random.normal(tf.shape(Z_mu))
        sigma = tf.math.exp(0.5 * Z_logvar)
        return Z_mu + sigma * epsilon

class BetaVAE:

    def __init__(self, input_shape, latent_dim=32, loss_type='mse', learning_rate=0.0005):
        self.latent_dim = latent_dim
        self.C = 0
        self.gamma = 100
        channels = input_shape[2]
        encoder_input = Input(shape=input_shape)
        X = Conv(32, 4)(encoder_input)
        X = Conv(32, 4)(X)
        X = Conv(32, 4)(X)
        X = Conv(32, 4)(X)
        X = Flatten()(X)
        X = Dense(256, activation='relu')(X)
        X = Dense(256, activation='relu')(X)
        Z_mu = Dense(self.latent_dim)(X)
        Z_logvar = Dense(self.latent_dim, activation='relu')(X)
        Z = Reparameterize()([Z_mu, Z_logvar])
        output_activation = 'sigmoid' if channels == 1 else None
        decoder_input = Input(shape=(self.latent_dim,))
        X = Dense(256, activation='relu')(decoder_input)
        X = Dense(256, activation='relu')(X)
        X = Dense(512, activation='relu')(X)
        X = Reshape((4, 4, 32))(X)
        X = Deconv(32, 4)(X)
        X = Deconv(32, 4)(X)
        X = Deconv(32, 4)(X)
        decoder_output = Deconv(channels, 4, activation=output_activation)(X)

        def reconstruction_loss(X, X_pred):
            if loss_type == 'bce':
                bce = tf.losses.BinaryCrossentropy()
                return bce(X, X_pred) * np.prod(input_shape)
            elif loss_type == 'mse':
                mse = tf.losses.MeanSquaredError()
                return mse(X, X_pred) * np.prod(input_shape)
            else:
                raise ValueError("Unknown reconstruction loss type. Try 'bce' or 'mse'")

        def kl_divergence(X, X_pred):
            self.C += 1 / 1440
            self.C = min(self.C, 35)
            kl = -0.5 * tf.reduce_mean(1 + Z_logvar - Z_mu ** 2 - tf.math.exp(Z_logvar))
            return self.gamma * tf.math.abs(kl - self.C)

        def loss(X, X_pred):
            return reconstruction_loss(X, X_pred) + kl_divergence(X, X_pred)
        self.encoder = Model(encoder_input, [Z_mu, Z_logvar, Z])
        self.decoder = Model(decoder_input, decoder_output)
        self.vae = Model(encoder_input, self.decoder(Z))
        self.vae.compile(optimizer='adam', loss=loss, metrics=[reconstruction_loss, kl_divergence])

    def predict(self, inputs, mode=None):
        if mode == 'encode':
            _, _, self.Z = self.encoder.predict(inputs)
            return self.Z
        if mode == 'decode':
            return self.decoder.predict(inputs)
        if mode == None:
            return self.vae.predict(inputs)
        raise ValueError('Unsupported mode during call to model.')

INIT_ARGS = {
    'input_shape': (8, 8, 3),
    'latent_dim': 16,
    'loss_type': 'mse',
    'learning_rate': 0.0005
}

ARGS = {
    'inputs': np.random.randn(2, 8, 8, 3).astype(np.float32),
    'mode': None
}

METHOD = 'predict'

if __name__ == '__main__':
    model = BetaVAE(**INIT_ARGS)
    result = model.predict(**ARGS)
    print("Output shape:", result.shape)
    print("Success!")
Setup block drafted by
a language model, class construct-then-call prompt, model not recorded
Imports
numpy, tensorflow — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 4, dtype family float, shape (2, 64, 64, 3) — shape (2, 64, 64, 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)
CCVAE Ran
ran on a synthesized input · constructed an object; no result was computed
AlexanderBogatko/Keras-CCVAE/model.py
pointer only (licence: NONE) · get_code("94112663b351c240")
How it ran

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

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

import torch
import torch.nn as nn
from torch.utils.data import TensorDataset, DataLoader

torch.manual_seed(0)

# Create small sample data
batch_size = 2
var_size = 4
cond_size = 3
latent_dim = 2

# Create dummy data tensors
X_data = torch.randn(batch_size, var_size)
C_data = torch.randn(batch_size, cond_size)

# Create a small dataset and dataloader
dataset = TensorDataset(X_data, C_data)
train_loader = DataLoader(dataset, batch_size=batch_size, shuffle=False)

ARGS = {
    'latent_dim': 2,
    'hidden': (10,),
    'activation': 'tanh',
    'batch_size': 2,
    'n_epochs': 2,
    'lr': 0.0001,
    'weight_decay': 0,
    'KL_weight': 0.001,
    'verbose': 0
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch, tqdm — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type CVAE — 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 CVAE 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
ContinousRotReprDecoder Ran
ran on a synthesized input
nghorbani/human_body_prior/human_body_prior/models/vposer_model.py
pointer only (licence: NOASSERTION) · get_code("f7b7c5b4c88e7cb4")
How it ran

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

Conv Ran
ran; our contract draft was wrong, not the code
alexbooth/Beta-VAE-Tensorflow-2.0/model.py
code served (permissive licence) · get_code("35157f12574bdc48")
How it ran

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

import tensorflow as tf
from tensorflow.keras.layers import Conv2D, Conv2DTranspose, Dense

ARGS = {
    'n_filters': 32,
    'filter_width': 3,
    'strides': 2,
    'activation': 'relu',
    'name': 'test_conv'
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
tensorflow — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Conv2D — a Conv2D output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Conv2D output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
DECODER Ran
ran on a synthesized input · constructed an object; no result was computed
sooooner/MNIST-VAE-with-tensorflow2/utils/model.py
pointer only (licence: NONE) · get_code("299e9d91655393e2")
How it ran

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

Decoder Ran
ran on a synthesized input · constructed an object; no result was computed
OsvaldN/APS360_Project/VAE/VAE_GAN.py
pointer only (licence: NONE) · get_code("64664bc562c6b1d0")
How it ran

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

Decoder Ran
ran on a synthesized input · constructed an object; no result was computed
ethanluoyc/pytorch-vae/vae.py
code served (permissive licence) · get_code("013b215f3a973569")
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, Decoder: 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)

# Define the arguments for Decoder.__init__
ARGS = {
    'D_in': 4,   # input dimension
    'H': 3,      # hidden dimension
    'D_out': 2,  # output dimension
}
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 Decoder — 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 Decoder 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
Decoder Ran
ran on a synthesized input
timbmg/VAE-CVAE-MNIST/models.py
pointer only (licence: NONE) · get_code("6c24b768885b894a")
How it ran

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

Decoder Ran
ran on a synthesized input · constructed an object; no result was computed
hse-cs/probaforms/probaforms/models/cvae.py
code served (permissive licence) · get_code("9c8b332ed2ffb3dd")
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, Decoder: 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_inputs': 5,
    'n_outputs': 3,
    'hidden': (10, 8),
    'activation': 'tanh'
}
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 Decoder — 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 Decoder 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
Decoder Ran
ran on a synthesized input · constructed an object; no result was computed
KrishnaTarun/Deep-Learning-Lab/assignment_3/code/a3_vae_template.py
pointer only (licence: NONE) · get_code("e9af1147a8bc4ae9")
How it ran

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

Decoder Ran
ran on a synthesized input
GuHongyang/VAEs/models/VAE.py
pointer only (licence: NONE) · get_code("da2312e68689183b")
How it ran

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

Decoder Ran
ran on a synthesized input
vimlord/torchrosa-tts/vae/model.py
pointer only (licence: NONE) · get_code("ea625a8cf3672c36")
How it ran

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

Decoder Ran
ran on a synthesized input
RoboticsDesignLab/jitterbug/benchmarks/VAE.py
pointer only (licence: NONE) · get_code("215ea2e29de0b2fa")
How it ran

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

Decoder Ran
ran on a synthesized input
GiuliaLavizzari/ML4thesis/VAEmodel/VAEmodel.py
pointer only (licence: NONE) · get_code("cec031e70f340759")
How it ran

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

Deconv Ran
ran; our contract draft was wrong, not the code
alexbooth/Beta-VAE-Tensorflow-2.0/model.py
code served (permissive licence) · get_code("1b01cd263272a0f5")
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 Conv2DTranspose. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import tensorflow as tf
from tensorflow.keras.layers import Conv2D, Conv2DTranspose, Dense

ARGS = {
    'n_filters': 64,
    'filter_width': 3,
    'strides': 2,
    'activation': 'relu',
    'name': 'deconv_layer'
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
tensorflow — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Conv2DTranspose — a Conv2DTranspose output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Conv2DTranspose 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
ENCODER Ran
ran on a synthesized input · constructed an object; no result was computed
sooooner/MNIST-VAE-with-tensorflow2/utils/model.py
pointer only (licence: NONE) · get_code("fe1fd17d3cc45dd2")
How it ran

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

Embedding Ran
ran on a synthesized input
vimlord/torchrosa-tts/vae/model.py
pointer only (licence: NONE) · get_code("3de403259b405b9a")
How it ran

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

Encoder Ran
ran on a synthesized input
OsvaldN/APS360_Project/VAE/VAE_GAN.py
pointer only (licence: NONE) · get_code("74bab1f119ed478d")
How it ran

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

Encoder Ran
ran on a synthesized input · constructed an object; no result was computed
ethanluoyc/pytorch-vae/vae.py
code served (permissive licence) · get_code("d94ed0a2741926fd")
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, Encoder: 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 = {
    'D_in': 4,
    'H': 16,
    'latent_size': 8,
}
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 Encoder — 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 Encoder 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
Encoder Ran
ran on a synthesized input · constructed an object; no result was computed
adrianjav/heterogeneous_vaes/src/models/vae.py
pointer only (licence: GPL-3.0) · get_code("129fa67fb91677a2")
How it ran

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

Encoder Ran
ran on a synthesized input · constructed an object; no result was computed
timbmg/VAE-CVAE-MNIST/models.py
pointer only (licence: NONE) · get_code("34cad03594cba48b")
How it ran

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

Encoder Ran
ran on a synthesized input · constructed an object; no result was computed
hse-cs/probaforms/probaforms/models/cvae.py
code served (permissive licence) · get_code("270d59151440f8e0")
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, Encoder: 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_inputs': 4,
    'lat_size': 2,
    'hidden': (10, 8),
    'activation': 'tanh'
}
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 Encoder — 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 Encoder 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
Encoder Ran
ran on a synthesized input · constructed an object; no result was computed
KrishnaTarun/Deep-Learning-Lab/assignment_3/code/a3_vae_template.py
pointer only (licence: NONE) · get_code("881bad848e847d75")
How it ran

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

Encoder Ran
ran on a synthesized input
GuHongyang/VAEs/models/VAE.py
pointer only (licence: NONE) · get_code("ebb721989c39f6d6")
How it ran

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

Encoder Ran
ran on a synthesized input
vimlord/torchrosa-tts/vae/model.py
pointer only (licence: NONE) · get_code("3c6edda4352515ab")
How it ran

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

Encoder Ran
ran on a synthesized input
RoboticsDesignLab/jitterbug/benchmarks/VAE.py
pointer only (licence: NONE) · get_code("979f63a25e5b5bd5")
How it ran

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

Encoder Ran
ran on a synthesized input
GiuliaLavizzari/ML4thesis/VAEmodel/VAEmodel.py
pointer only (licence: NONE) · get_code("e37348a66cf1df59")
How it ran

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

GaussianMLP Ran
ran on a synthesized input · constructed an object; no result was computed
tungkw/VAE/src/VAE_model.py
code served (permissive licence) · get_code("dc02b52bceb3859c")
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, GaussianMLP: 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 = {
    "input_size": 4,
    "output_size": 3,
    "hidden_size": 8,
}
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 GaussianMLP — 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 GaussianMLP 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
GaussianVAELoss Ran
ran on a synthesized input
mmrl/lost-in-latent-space/src/training/loss.py
pointer only (licence: NONE) · get_code("656314ec3824522a")
How it ran

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

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

import torch
import torch.nn as nn

torch.manual_seed(0)

class SimpleGenModel(nn.Module):
    """Minimal concrete implementation of GenModel for testing."""
    
    def __init__(self):
        super(SimpleGenModel, self).__init__()
        self.linear = nn.Linear(7, 4)
    
    def fit(self, X, C):
        """Fit the model on data X with conditions C."""
        if C is not None:
            combined = torch.cat([X, C], dim=1)
        else:
            combined = X
        output = self.linear(combined)
        return output
    
    def sample(self, C):
        """Generate samples conditioned on C."""
        if isinstance(C, int):
            batch_size = C
            C = torch.randn(batch_size, 3)
        output = self.linear(torch.cat([torch.randn(C.shape[0], 4), C], dim=1))
        return output

# Create instances and tensors
X = torch.randn(2, 4)
C = torch.randn(2, 3)

ARGS = {
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type GenModel — 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 GenModel 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
LeakyReLU Ran
ran on a synthesized input
cianeastwood/qedr/lib/models/nets_64x64.py
code served (permissive licence) · get_code("cd1135ee5bcba4c8")
How it ran

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

import tensorflow as tf
import numpy as np

# Create a small TensorFlow tensor for testing
x = tf.constant([[1.0, -2.0, 3.0, -4.0],
                 [0.5, -0.5, 1.5, -1.5]], dtype=tf.float32)

alpha = 0.2

ARGS = {
    "x": x,
    "alpha": alpha
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, tensorflow — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type EagerTensor, ndim 2, dtype family float, shape (2, 4) — shape (2, 4) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
Linear Ran
ran on a synthesized input · constructed an object; no result was computed
hrbigelow/draw/draw.py
pointer only (licence: NONE) · get_code("ed84a60469910c7c")
How it ran

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

MLP Ran
ran on a synthesized input
davidemartinelli/VAE/model.py
pointer only (licence: NONE) · get_code("7ad5fe2f50207580")
How it ran

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

MeanSquaredError Ran
ran, honoured the contract we drafted
ElliottKasoar/GeneVAE/GeneVAE.py
pointer only (licence: NONE) · get_code("23af53c58a4ce9ae")
How it ran

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

NormalDistDecoder Ran
ran on a synthesized input
nghorbani/human_body_prior/human_body_prior/models/vposer_model.py
pointer only (licence: NOASSERTION) · get_code("3ecdff489f95548a")
How it ran

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

PandasHash Ran
ran on a synthesized input
microsoft/recommenders/recommenders/models/vae/multinomial_vae.py
code served (permissive licence) · get_code("c80a0fb8fa231a08")
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 int, ndim 0, dtype family int, shape () as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import pandas as pd
import numpy as np

class PandasHash:
    """Wrapper class to allow pandas objects (DataFrames or Series) to be hashable"""
    __slots__ = 'pandas_object'

    def __init__(self, pandas_object):
        """Initialize class

        Args:
            pandas_object (pandas.DataFrame|pandas.Series): pandas object
        """
        if not isinstance(pandas_object, (pd.DataFrame, pd.Series)):
            raise TypeError('Can only wrap pandas DataFrame or Series objects')
        self.pandas_object = pandas_object

    def __eq__(self, other):
        """Overwrite equality comparison

        Args:
            other (pandas.DataFrame|pandas.Series): pandas object to compare

        Returns:
            bool: whether other object is the same as this one
        """
        return hash(self) == hash(other)

    def __hash__(self):
        """Overwrite hash operator for use with pandas objects

        Returns:
            int: hashed value of object
        """
        hashable = tuple(self.pandas_object.values.tobytes())
        if isinstance(self.pandas_object, pd.DataFrame):
            hashable += tuple(self.pandas_object.columns)
        else:
            hashable += tuple(self.pandas_object.name)
        return hash(hashable)


INIT_ARGS = {
    'pandas_object': pd.DataFrame(
        np.random.randn(4, 3),
        columns=['a', 'b', 'c']
    )
}

ARGS = {}

METHOD = '__hash__'

if __name__ == '__main__':
    instance = PandasHash(**INIT_ARGS)
    result = getattr(instance, METHOD)(**ARGS)
    print(f"Hash result: {result}")
    print(f"Type: {type(result)}")
Setup block drafted by
a language model, class construct-then-call prompt, model not recorded
Imports
numpy, pandas — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type int, ndim 0, dtype family int, shape () — shape () as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: torch and numpy seeded to 0 by the harness immediately before the class was constructed from INIT_ARGS (fixture_check.py)
ReadAttn Ran
ran on a synthesized input · constructed an object; no result was computed
hrbigelow/draw/draw.py
pointer only (licence: NONE) · get_code("261ea46907365021")
How it ran

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

Reparameterize Ran
ran on a synthesized input
alexbooth/Beta-VAE-Tensorflow-2.0/model.py
code served (permissive licence) · get_code("6ae46786b88c03ce")
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 EagerTensor, ndim 2, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import tensorflow as tf
import numpy as np

# INIT_ARGS for Reparameterize.__init__
# The __init__ method has no parameters beyond self, so INIT_ARGS is empty
INIT_ARGS = {}

# ARGS for Reparameterize.call
# The call method expects inputs = [Z_mu, Z_logvar]
# Using distinct dimensions: batch=2, latent_dim=5
Z_mu = tf.constant(np.random.randn(2, 5).astype(np.float32))
Z_logvar = tf.constant(np.random.randn(2, 5).astype(np.float32))

ARGS = {
    'inputs': [Z_mu, Z_logvar]
}
Setup block drafted by
a language model, class construct-then-call prompt, model not recorded
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 2, dtype family float — no output shape is stated: observe_signature.py observed this class with its constructor sizes canonicalised where it could, which the node does not record, so its shape is not stated as this setup block's
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: torch and numpy seeded to 0 by the harness immediately before the class was constructed from INIT_ARGS (fixture_check.py)
ResBlock Ran
ran on a synthesized input
kpandey008/DiffuseVAE/main/models/vae.py
code served (permissive licence) · get_code("84ab8aa01ed45b5c")
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, 5, 8, 8) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

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

def get_1x1(in_dim, out_dim, zero_bias=True, zero_weights=False, groups=1):
    return get_conv(in_dim, out_dim, 1, 1, 0, zero_bias, zero_weights, groups=groups)

def get_3x3(in_dim, out_dim, zero_bias=True, zero_weights=False, groups=1):
    return get_conv(in_dim, out_dim, 3, 1, 1, zero_bias, zero_weights, groups=groups)

def get_conv(in_dim, out_dim, kernel_size, stride, padding, zero_bias=True, zero_weights=False, groups=1):
    c = nn.Conv2d(in_dim, out_dim, kernel_size, stride, padding, groups=groups)
    if zero_bias:
        c.bias.data *= 0.0
    if zero_weights:
        c.weight.data *= 0.0
    return c

class ResBlock(nn.Module):

    def __init__(self, in_width, middle_width, out_width, down_rate=None, residual=False, use_3x3=True, zero_last=False):
        super().__init__()
        self.down_rate = down_rate
        self.residual = residual
        self.c1 = get_1x1(in_width, middle_width)
        self.c2 = get_3x3(middle_width, middle_width) if use_3x3 else get_1x1(middle_width, middle_width)
        self.c3 = get_3x3(middle_width, middle_width) if use_3x3 else get_1x1(middle_width, middle_width)
        self.c4 = get_1x1(middle_width, out_width, zero_weights=zero_last)

    def forward(self, x):
        xhat = self.c1(F.gelu(x))
        xhat = self.c2(F.gelu(xhat))
        xhat = self.c3(F.gelu(xhat))
        xhat = self.c4(F.gelu(xhat))
        out = x + xhat if self.residual else xhat
        if self.down_rate is not None:
            out = F.avg_pool2d(out, kernel_size=self.down_rate, stride=self.down_rate)
        return out

INIT_ARGS = {
    'in_width': 4,
    'middle_width': 6,
    'out_width': 5,
    'down_rate': None,
    'residual': False,
    'use_3x3': True,
    'zero_last': False,
}

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

if __name__ == '__main__':
    model = ResBlock(**INIT_ARGS)
    output = model(**ARGS)
    print(f"Output shape: {output.shape}")
    print(f"Output: {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, 5, 8, 8) — shape (2, 5, 8, 8) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: torch and numpy seeded to 0 by the harness immediately before the class was constructed from INIT_ARGS (fixture_check.py)
SampleQ Ran
ran on a synthesized input
hrbigelow/draw/draw.py
pointer only (licence: NONE) · get_code("9b2328205484176f")
How it ran

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

SimpleDecoder Ran
ran on a synthesized input · constructed an object; no result was computed
arahosu/musicslots/models/Baselines/vae.py
pointer only (licence: NONE) · get_code("a4e5e7d90e011c93")
How it ran

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

SimpleEncoder Ran
ran on a synthesized input · constructed an object; no result was computed
arahosu/musicslots/models/Baselines/vae.py
pointer only (licence: NONE) · get_code("98b69578599d4bbf")
How it ran

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

StackNTimes Ran
ran on a synthesized input · constructed an object; no result was computed
leokster/CVAE/variational_autoencoder/models.py
code served (permissive licence) · get_code("50d8211fd249495d")
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, StackNTimes: 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

class StackNTimes(tf.keras.layers.Layer):
    """Expands dimension of input tensor and stacks n times on new axis.
    Works dynamically, with the amount of stacks n as a tensor with 
    data type int32, or a python or numpy integer type.

    Inputs to constructor:
    axis - The axis to stack on, ranging from (-old_dim - 1) to (old_dim)."""

    def __init__(self, axis=1):
        super(StackNTimes, self).__init__()
        self.axis = axis

    def call(self, inputs, n):
        """Inputs:
        inputs - The tensor to stack multiple times. Can be a tensor of any
                 rank or data type.
        n      - The amount of times to stack the tensor. Can be a tensor
                 or any python or numpy integer type. Will be coverted to
                 a tensor of int32 type internally."""
        old_dim = len(tf.shape(inputs))
        n = tf.cast(tf.expand_dims(n, axis=0), tf.int32)
        if self.axis > old_dim or self.axis < -old_dim - 1:
            raise ValueError(f'Tried to stack on index {self.axis}' + f' for tensor with {old_dim} dimensions.')
        elif self.axis == 0 or self.axis == -old_dim - 1:
            multiples = tf.concat([n, tf.ones([old_dim], dtype=tf.int32)], axis=0)
        elif self.axis == -1:
            multiples = tf.concat([tf.ones([old_dim], dtype=tf.int32), n], axis=0)
        elif self.axis > 0:
            multiples = tf.concat([tf.ones([self.axis], dtype=tf.int32), n, tf.ones([old_dim - self.axis], dtype=tf.int32)], axis=0)
        elif self.axis < 0:
            multiples = tf.concat([tf.ones([old_dim + 1 + self.axis], dtype=tf.int32), n, tf.ones([-self.axis - 1], dtype=tf.int32)], axis=0)
        h = tf.expand_dims(inputs, axis=self.axis)
        outputs = tf.tile(h, multiples)
        return outputs

layer = StackNTimes(axis=1)
inputs_tensor = tf.constant(np.random.randn(2, 4), dtype=tf.float32)
n_value = 3

ARGS = {
    'axis': 1
}
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 StackNTimes — 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 StackNTimes 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
StochasticLayer Ran
ran on a synthesized input · constructed an object; no result was computed
la3ma/IWAE-torch/src/models.py
code served (permissive licence) · get_code("115cd9683c3fbee8")
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, StochasticLayer: 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)

# Define ARGS dict with all parameters for StochasticLayer
ARGS = {
    'input_dim': 4,
    'output_dim': 3,
    'distribution': 'diagonal_gaussian',
    'variance_range_limiter': 1.0
}
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 StochasticLayer — 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 StochasticLayer 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
StochasticRNNPB Ran
ran on a synthesized input
mulkkyul/stochasticRNNPB/models.py
code served (permissive licence) · get_code("2b0e6ac8f7cf68db")
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 tuple. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn

INIT_ARGS = {
    'params': {
        'model': {
            'behavior': 'stochastic',
            'num_layers': 2,
            'data_dim': 4,
            'pb_size': 3,
            'hidden_size': 8,
            'num_pb': 5,
        }
    },
    'device': 'cpu',
}

ARGS = {
    'sequence_label': torch.tensor([0, 1]),
    'forward_computation_length': 3,
}
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 tuple — a tuple output has no array shape of its own; none is stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: torch and numpy seeded to 0 by the harness immediately before the class was constructed from INIT_ARGS (fixture_check.py)
VAE Ran
ran on a synthesized input · constructed an object; no result was computed
kampta/pytorch-distributions/vae_mnist.py
pointer only (licence: NONE) · get_code("8a9443930d373bc6")
How it ran

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

VAE Ran
ran on a synthesized input · constructed an object; no result was computed
ethanluoyc/pytorch-vae/vae.py
code served (permissive licence) · get_code("9ae83af96c3d86cf")
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, VAE: 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 torch.nn.functional as F

torch.manual_seed(0)

hidden_size = 512
input_dim = 28 * 28
latent_size = 8

class Decoder(nn.Module):
    def __init__(self, D_in, H, D_out):
        super(Decoder, self).__init__()
        self.linear1 = nn.Linear(D_in, H)
        self.linear2 = nn.Linear(H, D_out)

    def forward(self, x):
        x = F.relu(self.linear1(x))
        mu = torch.tanh(self.linear2(x))
        return torch.distributions.Normal(mu, torch.ones_like(mu))

class Encoder(nn.Module):
    def __init__(self, D_in, H, latent_size):
        super(Encoder, self).__init__()
        self.linear1 = nn.Linear(D_in, H)
        self.linear2 = nn.Linear(H, H)
        self.enc_mu = nn.Linear(H, latent_size)
        self.enc_log_sigma = nn.Linear(H, latent_size)

    def forward(self, x):
        x = F.relu(self.linear1(x))
        x = F.relu(self.linear2(x))
        mu = self.enc_mu(x)
        log_sigma = self.enc_log_sigma(x)
        sigma = torch.exp(log_sigma)
        return torch.distributions.Normal(loc=mu, scale=sigma)

decoder = Decoder(latent_size, hidden_size, input_dim)
encoder = Encoder(input_dim, hidden_size, latent_size)

ARGS = {
    "encoder": encoder,
    "decoder": decoder
}
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 VAE — 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 VAE 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
VAE Ran
ran on a synthesized input · constructed an object; no result was computed
adrianjav/heterogeneous_vaes/src/models/vae.py
pointer only (licence: GPL-3.0) · get_code("4199fb8ac7739853")
How it ran

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

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

import torch
import torch.nn as nn
from torch.autograd import Variable

torch.manual_seed(0)

# Build the VAE model with small test parameters
ARGS = {
    'label': 'test_vae',
    'image_size': 32,
    'channel_num': 1,
    'kernel_num': 32,
    'z_size': 16,
}
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 VAE — 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 VAE 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
VAE Ran
ran on a synthesized input · constructed an object; no result was computed
timbmg/VAE-CVAE-MNIST/models.py
pointer only (licence: NONE) · get_code("64b9723a73466fc7")
How it ran

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

VAE Ran
ran on a synthesized input · constructed an object; no result was computed
angzhifan/Auto-Encoding_Variational_Bayes/vae_net.py
pointer only (licence: NONE) · get_code("8bcd4e1837530f40")
How it ran

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

VAE Ran
ran on a synthesized input · constructed an object; no result was computed
sarus-tech/tf2-published-models/vae/model.py
code served (permissive licence) · get_code("f0219f62556d0e81")
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, VAE: 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

tfk = tf.keras

# Define a small encoder model
class SimpleEncoder(tfk.Model):
    def __init__(self, latent_dim=8):
        super(SimpleEncoder, self).__init__()
        self.dense1 = tfk.layers.Dense(16, activation='relu')
        self.dense2 = tfk.layers.Dense(latent_dim * 2)  # output mean and logvar
    
    def call(self, x):
        h = self.dense1(x)
        h = self.dense2(h)
        return h

# Define a small decoder model
class SimpleDecoder(tfk.Model):
    def __init__(self, input_dim=4, latent_dim=8):
        super(SimpleDecoder, self).__init__()
        self.dense1 = tfk.layers.Dense(16, activation='relu')
        self.dense2 = tfk.layers.Dense(input_dim)
        self._build_input_shape = (None, latent_dim)
    
    def call(self, z):
        h = self.dense1(z)
        h = self.dense2(h)
        return h

# Create encoder and decoder instances
encoder = SimpleEncoder(latent_dim=8)
decoder = SimpleDecoder(input_dim=4, latent_dim=8)

# Build the models with dummy data so they have proper shapes
dummy_input = tf.zeros((2, 4))
encoder(dummy_input)
dummy_z = tf.zeros((2, 8))
decoder(dummy_z)

# Create the VAE arguments
ARGS = {
    'encoder': encoder,
    'decoder': decoder,
    'kl_weight': 0.5,
    'name': 'test_vae'
}
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 VAE — 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 VAE 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

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

Also present in other papers' code

Of 199 samples lifted from this paper's linked repositories, 199 carry a function identity and 0 do not. Of the 199 distinct functions with an identity, 29 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 29 later) and 170 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
directory 2 other papers
2 later
1906.10335 (2019-06)
Perceptual Generative Autoencoders
2104.12476 (2021-04)
EigenGAN: Layer-Wise Eigen-Learning for GANs
name 2 other papers
2 later
1906.10335 (2019-06)
Perceptual Generative Autoencoders
2104.12476 (2021-04)
EigenGAN: Layer-Wise Eigen-Learning for GANs
sampling
brick of this paper's assembly: entry
2 other papers
2 later
1902.04601 (2019-02)
Contrastive Variational Autoencoder Enhances Salient Features
2106.07035 (2021-06)
Deep Bayesian Unsupervised Lifelong Learning
session 2 other papers
2 later
1611.06355 (2016-11)
Invertible Conditional GANs for image editing
1904.09709 (2019-04)
STGAN: A Unified Selective Transfer Network for Arbitrary Image Attribute Editing
shape 2 other papers
2 later
1611.06355 (2016-11)
Invertible Conditional GANs for image editing
1904.09709 (2019-04)
STGAN: A Unified Selective Transfer Network for Arbitrary Image Attribute Editing
split 2 other papers
2 later
1906.10335 (2019-06)
Perceptual Generative Autoencoders
2104.12476 (2021-04)
EigenGAN: Layer-Wise Eigen-Learning for GANs
summary 2 other papers
2 later
1611.06355 (2016-11)
Invertible Conditional GANs for image editing
1904.09709 (2019-04)
STGAN: A Unified Selective Transfer Network for Arbitrary Image Attribute Editing
to_range 2 other papers
2 later
1906.10335 (2019-06)
Perceptual Generative Autoencoders
2104.12476 (2021-04)
EigenGAN: Layer-Wise Eigen-Learning for GANs
Encoder
brick of this paper's assembly: model
1 other paper
1 later · 1 only as an assembly brick
1509.00519 (2015-09)
Importance Weighted Autoencoders
GenModel
brick of this paper's assembly: helper
1 other paper
1 later · 1 only as an assembly brick
1605.08803 (2016-05)
Density estimation using Real NVP
LeakyReLU 1 other paper
1 later
1809.02058 (2018-09)
Memory Replay GANs: learning to generate images from new categories without forgetting
StochasticLayer
brick of this paper's assembly: model
1 other paper
1 later · 1 only as an assembly brick
1509.00519 (2015-09)
Importance Weighted Autoencoders
VAE
brick of this paper's assembly: entry
1 other paper
1 later
1509.00519 (2015-09)
Importance Weighted Autoencoders
VAE
brick of this paper's assembly: entry
1 other paper
1 later
1509.00519 (2015-09)
Importance Weighted Autoencoders
VAEHead
brick of this paper's assembly: model
1 other paper
1 later
1509.00519 (2015-09)
Importance Weighted Autoencoders
VaeDecoder
brick of this paper's assembly: helper
1 other paper
1 later · 1 only as an assembly brick
1509.00519 (2015-09)
Importance Weighted Autoencoders
VaeEncoder
brick of this paper's assembly: helper
1 other paper
1 later · 1 only as an assembly brick
1509.00519 (2015-09)
Importance Weighted Autoencoders
_StochasticAutoencoder
brick of this paper's assembly: model
1 other paper
1 later · 1 only as an assembly brick
1509.00519 (2015-09)
Importance Weighted Autoencoders
float2im 1 other paper
1 later
1906.10335 (2019-06)
Perceptual Generative Autoencoders
float2uint 1 other paper
1 later
1906.10335 (2019-06)
Perceptual Generative Autoencoders

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

How can we perform efficient inference and learning in directed probabilistic models, in the presence of continuous latent variables with intractable posterior distributions, and large datasets? We introduce a stochastic variational inference and learning algorithm that scales to large datasets and, under some mild differentiability conditions, even works in the intractable case. Our contributions are two-fold. First, we show that a reparameterization of the variational lower bound yields a lower bound estimator that can be straightforwardly optimized using standard stochastic gradient methods. Second, we show that for i.i.d. datasets with continuous latent variables per datapoint, posterior inference can be made especially efficient by fitting an approximate inference model (also called a recognition model) to the intractable posterior using the proposed lower bound estimator. Theoretical advantages are reflected in experimental results.

For agents

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

get_harvested_code_for_paper("1312.6114")
get_code_for_paper("1312.6114")
have("1312.6114")

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

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

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

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

Connect an agent — have() is free.