SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 1910.06379 · 2019

Dual-path RNN: efficient long sequence modeling for time-domain single-channel speech separation

arXiv · PDF · Open in the Atlas

Code that ran

19 of 22 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 1 honoured the contract we drafted, 1 violated it and 15 have no contract verdict; 2 failures of our instrument; 3 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/1910.06379.json · badge: /api/ran/1910.06379.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
fgnt/padertorch community (classifier label)
classifier basis not recorded on the link
9 ran · 3 no recorded run
lyqcom/dprnn community (classifier label)
classifier basis not recorded on the link
4 ran · 0 no recorded run
sp-uhh/dual-path-rnn community (classifier label)
classifier basis not recorded on the link
4 ran · 0 no recorded run
JusperLee/Dual-Path-RNN-Pytorch reimplementation (classifier label)
classifier basis: classifier_2025
2 ran · 0 no recorded run
FunctionStatusWhere it lives
cal_SISNR Ran
ran, violated the contract we drafted
lyqcom/dprnn/src/evaluate.py
code served (permissive licence) · get_code("faac9c0b7e1a08c5")
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 float64, ndim 0, dtype family float, shape () as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import numpy as np

# Create simple numpy arrays of equal length for the SI-SNR calculation
np.random.seed(0)
T = 16000  # typical audio signal length

# Generate reference signal and output signal
ref_sig = np.random.randn(T).astype(np.float32)
out_sig = ref_sig + 0.1 * np.random.randn(T).astype(np.float32)  # slightly noisy version

ARGS = {
    'ref_sig': ref_sig,
    'out_sig': out_sig,
    'eps': 1e-08
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type float64, ndim 0, dtype family float, shape () — shape () as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
cal_SISNRi Ran
ran, honoured the contract we drafted
lyqcom/dprnn/src/evaluate.py
code served (permissive licence) · get_code("b19791aa06bb7b9b")
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 float64, ndim 0, dtype family float, shape () as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import numpy as np

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

# Create sample audio signals
# ref_sig and est_sig should be 1D arrays [T] where T is time samples
# src_ref should be [C, T] where C is number of sources (2 in this case)
# src_est should be [C, T] with same shape as src_ref
# mix should be [T]

T = 16000  # time samples
C = 2      # number of sources

# Generate synthetic audio signals
src_ref = np.random.randn(C, T).astype(np.float32)
src_est = src_ref + 0.1 * np.random.randn(C, T).astype(np.float32)  # estimated with some noise
mix = np.sum(src_ref, axis=0).astype(np.float32)  # mixture is sum of sources

ARGS = {
    "src_ref": src_ref,
    "src_est": src_est,
    "mix": mix,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type float64, ndim 0, dtype family float, shape () — shape () as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
dataclass_to_config Ran
ran on a synthesized input
fgnt/padertorch/padertorch/configurable.py
code served (permissive licence) · get_code("fc587f8fbdac1258")
How it ran

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

import dataclasses
import functools

# Define simple test classes
def simple_function(e=5, f=6):
    pass

@dataclasses.dataclass
class SimpleDataclass:
    arg: int = 1
    l: None = dataclasses.field(default_factory=list)
    d: None = dataclasses.field(default_factory=functools.partial(dict, key=2))

@dataclasses.dataclass
class ComplexDataclass:
    p: None = dataclasses.field(default_factory=functools.partial(SimpleDataclass, arg=3))
    f: None = dataclasses.field(default_factory=SimpleDataclass)
    c: int = 4
    g: None = simple_function

# Define arguments for the function
ARGS = {
    'cls': ComplexDataclass,
    'depth': 0,
    'force_valid_config': True,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type dict — a dict output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a dict output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
dynamic_lr Ran
ran on a synthesized input
lyqcom/dprnn/src/lr_sch.py
code served (permissive licence) · get_code("21022703fec0e252")
How it ran

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

import torch
import numpy as np

torch.manual_seed(0)

# Analyzing the function:
# - step_per_epoch: int, used in range(1, step_per_epoch + 1)
# - epoch: int, used in range(1, epoch + 1)
# The function computes learning rates based on step and epoch counts
# No complex objects needed, just integers

ARGS = {
    "step_per_epoch": 100,
    "epoch": 3
}
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 list, ndim 1, dtype family float — a list output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
import_class Ran
ran on a synthesized input
fgnt/padertorch/padertorch/configurable.py
code served (permissive licence) · get_code("64824c28c3db576f")
How it ran

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

import builtins

# Test case 1: Pass a string that refers to a builtin
ARGS = {
    'name': 'dict'
}

# Alternative test cases to verify the function works:
# 
# Test case 2: Pass a callable directly
# ARGS = {
#     'name': dict
# }
#
# Test case 3: Pass a string for a standard library class
# ARGS = {
#     'name': 'collections.OrderedDict'
# }
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type type — a type output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a type output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
log10 Ran
ran on a synthesized input
sp-uhh/dual-path-rnn/src/loss.py
code served (permissive licence) · get_code("51efffa5a60c50da")
How it ran

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

import tensorflow as tf
import numpy as np

# Create a small tensor for testing
# The function takes a single parameter x and computes log10(x)
x = tf.constant([1.0, 10.0, 100.0, 1000.0], dtype=tf.float32)

ARGS = {
    "x": x
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, tensorflow — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type SymbolicTensor — a SymbolicTensor output has no array shape of its own; none is stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
make_optimizer Ran
ran; our contract draft was wrong, not the code
JusperLee/Dual-Path-RNN-Pytorch/train_rnn.py
code served (permissive licence) · get_code("b448dde01277a441")
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 Adam. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn

torch.manual_seed(0)

# Create a simple model with parameters
model = nn.Linear(4, 3)
params = model.parameters()

# Create the optimizer config dict
opt = {
    'optim': {
        'name': 'Adam',
        'lr': 0.001,
        'weight_decay': 1e-5,
        'momentum': 0.9
    }
}

ARGS = {
    'params': params,
    'opt': opt
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Adam — a Adam output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Adam 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
normalize_axis Ran
ran on a synthesized input
fgnt/padertorch/padertorch/utils.py
code served (permissive licence) · get_code("f947a5b97bfeeae2")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned tuple, ndim 1, dtype family int; 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

torch.manual_seed(0)

# Test case 1: Regular tensor with negative axis
x1 = torch.zeros(2, 3, 4)
axis1 = -1

# Test case 2: Regular tensor with tuple of axes
x2 = torch.zeros(2, 3, 4)
axis2 = (-3, -2, -1)

# Test case 3: PackedSequence with single axis
data = torch.zeros(10, 5)
batch_sizes = torch.tensor([3, 3, 2, 2])
packed = torch.nn.utils.rnn.PackedSequence(data, batch_sizes)
x3 = packed
axis3 = 1

# Use the first test case for ARGS
ARGS = {
    'x': torch.zeros(2, 3, 4),
    'axis': -1
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple, ndim 1, dtype family int — a tuple output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
num_parameters Ran
ran on a synthesized input
fgnt/padertorch/padertorch/summary/model_info.py
code served (permissive licence) · get_code("61842f44f2c99c11")
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 ModelParameterSize. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn

torch.manual_seed(0)

# Create a simple nn.Module for testing
module = nn.Sequential(
    nn.Linear(10, 5),
    nn.ReLU(),
    nn.Linear(5, 3)
)

ARGS = {
    "module": module
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
humanize, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ModelParameterSize — a ModelParameterSize output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a ModelParameterSize 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
overlap_add Ran
ran on a synthesized input
fgnt/padertorch/padertorch/modules/dual_path_rnn.py
code served (permissive licence) · get_code("5ecc05344e08fef2")
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 Tensor, ndim 3, dtype family float, shape (2, 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 torch
from einops import rearrange

torch.manual_seed(0)

# Based on the function signature and docstring examples, we need to construct
# a segmented signal tensor with shape (B, N, K, S) where:
# - B is batch size
# - N is the number of features/channels
# - K is the window/segment size (must be > hop_size)
# - S is the number of segments

# From the examples, we can see that:
# - signal should be a 4D tensor: (B, N, K, S)
# - hop_size should be an int where K > hop_size
# - unpad is a boolean flag

# Create a small example signal
B = 2  # batch size
N = 4  # number of features
K = 6  # window/segment size
S = 3  # number of segments
hop_size = 2  # hop size (must be < K)

# Create a simple segmented signal
signal = torch.randn(B, N, K, S)

ARGS = {
    "signal": signal,
    "hop_size": hop_size,
    "unpad": True,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
einops, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 3, dtype family float, shape (2, 2, 4) — shape (2, 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
pack Ran
ran on a synthesized input
fgnt/padertorch/padertorch/modules/dual_path_rnn.py
code served (permissive licence) · get_code("27419265dcbf8198")
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 Tensor, ndim 2, dtype family float, shape (5, 3) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch

torch.manual_seed(0)

# Create a small batch of sequences with padding
# x: tensor of shape (batch_size, max_time, features)
# sequence_lengths: tensor of shape (batch_size,) with actual lengths

batch_size = 2
max_time = 4
features = 3

x = torch.randn(batch_size, max_time, features)
sequence_lengths = torch.tensor([2, 3], dtype=torch.long)

ARGS = {
    "x": x,
    "sequence_lengths": sequence_lengths,
}
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 Tensor, ndim 2, dtype family float, shape (5, 3) — shape (5, 3) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
pad_list Ran
ran on a synthesized input
lyqcom/dprnn/src/data_test1.py
code served (permissive licence) · get_code("4e2cb218ceb2833d")
How it ran

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

import numpy as np

# Create a list of numpy arrays with different lengths to test padding
# The function expects a list of arrays where max() is called on their shapes
xs = [
    np.random.randn(3, 4).astype(np.float32),  # 3x4 array
    np.random.randn(2, 4).astype(np.float32),  # 2x4 array
]

ARGS = {
    "xs": xs
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 3, dtype family float, shape (2, 3, 4) — shape (2, 3, 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
permutation_invariant_loss Ran
ran on a synthesized input
sp-uhh/dual-path-rnn/src/loss.py
code served (permissive licence) · get_code("6562d5d49cd2bbfd")
How it ran

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

import tensorflow as tf
import numpy as np

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

# Create small test tensors
# Shape: (batch_size, num_speakers, signal_length)
batch_size = 2
num_speakers = 2
signal_length = 4

# y_true: ground truth with 2 speakers, shape (2, 2, 4)
y_true = tf.constant(np.random.randn(batch_size, num_speakers, signal_length).astype(np.float32))

# y_pred: predictions with 2 speakers, shape (2, 2, 4)
y_pred = tf.constant(np.random.randn(batch_size, num_speakers, signal_length).astype(np.float32))

ARGS = {
    "y_true": y_true,
    "y_pred": y_pred,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, tensorflow — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type SymbolicTensor — a SymbolicTensor output has no array shape of its own; none is stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
select_norm Ran
ran; our contract draft was wrong, not the code
JusperLee/Dual-Path-RNN-Pytorch/model/model_rnn.py
code served (permissive licence) · get_code("d7a32d1e19ee3c3c")
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 GlobalLayerNorm. 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 = {
    'norm': 'gln',
    'dim': 4,
    'shape': 3
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type GlobalLayerNorm — a GlobalLayerNorm output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a GlobalLayerNorm 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
sisnr Ran
ran on a synthesized input
sp-uhh/dual-path-rnn/src/loss.py
code served (permissive licence) · get_code("5fc1af7ade37a222")
How it ran

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

import tensorflow as tf
import numpy as np

# Create small tensors for the function
# s: reference signal, shape (batch_size, signal_length)
# s_hat: estimated signal, shape (batch_size, signal_length)

batch_size = 2
signal_length = 4

# Create numpy arrays for s and s_hat
s = np.random.randn(batch_size, signal_length).astype(np.float32)
s_hat = np.random.randn(batch_size, signal_length).astype(np.float32)

# Convert to TensorFlow tensors
s = tf.constant(s)
s_hat = tf.constant(s_hat)

ARGS = {
    "s": s,
    "s_hat": s_hat,
    "do_expand": False,
    "eps": 1e-08
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, tensorflow — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type SymbolicTensor — a SymbolicTensor output has no array shape of its own; none is stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
text_file_2_list Ran
ran on a synthesized input
sp-uhh/dual-path-rnn/src/utils.py
code served (permissive licence) · get_code("bdae77c463a833ba")
How it ran

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

import tempfile
import os

# Create a temporary text file with some content
with tempfile.NamedTemporaryFile(mode='w', delete=False, suffix='.txt') as f:
    temp_file_path = f.name
    f.write("hello world\n")
    f.write("  spaced line  \n")
    f.write("another line\n")

try:
    ARGS = {
        'text_file': temp_file_path
    }
finally:
    # Clean up the temporary file after defining ARGS
    pass
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type list, ndim 1, dtype family float — a list output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
to_list Ran
ran on a synthesized input
fgnt/padertorch/padertorch/utils.py
code served (permissive licence) · get_code("9bb35d2d16d87796")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned list, ndim 1, dtype family int; 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 collections
import numpy as np
from pathlib import Path

ARGS = {
    'x': 42,
    'length': None,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type list, ndim 1, dtype family int — a list output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
to_numpy Ran
ran on a synthesized input
fgnt/padertorch/padertorch/utils.py
code served (permissive licence) · get_code("84e8db0cb51a0bbc")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned ndarray, ndim 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 torch
import numpy as np

torch.manual_seed(0)

# Test case 1: Regular PyTorch tensor
tensor1 = torch.zeros(2, 4)

# Test case 2: PyTorch tensor with requires_grad=True
tensor2 = torch.ones(3, 5, requires_grad=True)

# Test case 3: Complex tensor
tensor3 = torch.tensor([1+1j, 2+2j], dtype=torch.complex64)

# Test case 4: NumPy array (already numpy, no conversion needed)
array1 = np.array([1.0, 2.0, 3.0], dtype=np.float32)

# Test case 5: Simple Python list
list1 = [1, 2, 3, 4]

ARGS = {
    "array": tensor1,
    "detach": False,
    "copy": False,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 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
torch_dataclass Ran
ran on a synthesized input
fgnt/padertorch/padertorch/base.py
code served (permissive licence) · get_code("b1f2043a92e934a3")
How it ran

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

import torch
import torch.nn as nn
from dataclasses import dataclass

torch.manual_seed(0)

# Create a simple test class that inherits from torch.nn.Module
@dataclass
class SimpleModule(nn.Module):
    some_module: nn.Module
    in_size: int = 42
    out_size: int = 42
    
    def __post_init__(self):
        self.layer = nn.Linear(self.in_size, self.out_size)
    
    def forward(self, x):
        return self.layer(x)

# Create an instance to pass as argument
test_linear = nn.Linear(10, 10)

# The torch_dataclass function takes one parameter: cls (the class to decorate)
ARGS = {
    'cls': SimpleModule
}
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 type — a type output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a type output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
dumps_config Not yet run
unverified (harvested, no recorded run)
fgnt/padertorch/padertorch/io.py
code served (permissive licence) · get_code("bbe5f26fed1e537e")
How it ran

no invocation recorded.

fix_doctext_import_class Not yet run
unverified (harvested, no recorded run)
fgnt/padertorch/padertorch/configurable.py
code served (permissive licence) · get_code("4c311e7c82e652b3")
How it ran

no invocation recorded.

load_config Not yet run
unverified (harvested, no recorded run)
fgnt/padertorch/padertorch/io.py
code served (permissive licence) · get_code("77067b06b04d7030")
How it ran

no invocation recorded.

Also present in other papers' code

Of 22 samples lifted from this paper's linked repositories, 22 carry a function identity and 0 do not. Of the 22 distinct functions with an identity, 3 are also present in other papers whose code we hold (2 with at least one paper dated earlier, 1 the same month, 3 later) and 19 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
cal_SISNRi 4 other papers
1 dated earlier, 1 the same month, 2 later
1809.07454 (2018-09)
Conv-TasNet: Surpassing Ideal Time-Frequency Magnitude Masking for Speech Separation
1910.14104 (2019-10)
End-to-end Microphone Permutation and Number Invariant Multi-channel Speech Separation
2003.01531 (2020-03)
Voice Separation with an Unknown Number of Multiple Speakers
and 1 more not named here
cal_SISNR 3 other papers
1 dated earlier, 2 later
1809.07454 (2018-09)
Conv-TasNet: Surpassing Ideal Time-Frequency Magnitude Masking for Speech Separation
2003.01531 (2020-03)
Voice Separation with an Unknown Number of Multiple Speakers
2007.13975 (2020-07)
Dual-Path Transformer Network: Direct Context-Aware Modeling for End-to-End Monaural Speech Separation
select_norm 2 other papers
2 later
2302.11824 (2023-02)
MossFormer: Pushing the Performance Limit of Monaural Speech Separation using Gated Single-Head Transformer with Convolution-Augmented Joint Self-Attentions
2312.11825 (2023-12)
MossFormer2: Combining Transformer and RNN-Free Recurrent Network for Enhanced Time-Domain Monaural Speech Separation

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

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

Abstract

Recent studies in deep learning-based speech separation have proven the superiority of time-domain approaches to conventional time-frequency-based methods. Unlike the time-frequency domain approaches, the time-domain separation systems often receive input sequences consisting of a huge number of time steps, which introduces challenges for modeling extremely long sequences. Conventional recurrent neural networks (RNNs) are not effective for modeling such long sequences due to optimization difficulties, while one-dimensional convolutional neural networks (1-D CNNs) cannot perform utterance-level sequence modeling when its receptive field is smaller than the sequence length. In this paper, we propose dual-path recurrent neural network (DPRNN), a simple yet effective method for organizing RNN layers in a deep structure to model extremely long sequences. DPRNN splits the long sequential input into smaller chunks and applies intra- and inter-chunk operations iteratively, where the input length can be made proportional to the square root of the original sequence length in each operation. Experiments show that by replacing 1-D CNN with DPRNN and apply sample-level modeling in the time-domain audio separation network (TasNet), a new state-of-the-art performance on WSJ0-2mix is achieved with a 20 times smaller model than the previous best system.

For agents

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

get_harvested_code_for_paper("1910.06379")
get_code_for_paper("1910.06379")
have("1910.06379")

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

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

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

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

Connect an agent — have() is free.