SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2206.13028 · AAAI · 2021

Multi-Scale Spatial Temporal Graph Convolutional Network for Skeleton-Based Action Recognition

Sicheng Li, Hong Liu, Bing Yang, Zhan Chen, Qinghan Li

arXiv · PDF · Open in the Atlas

Code that ran

19 of 26 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 0 violated it and 19 have no contract verdict; 0 failures of our instrument; 7 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/2206.13028.json · badge: /api/ran/2206.13028.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
czhaneva/mst-gcn marked official in Papers with Code
Papers with Code archive
19 ran · 7 no recorded run
FunctionStatusWhere it lives
Activations Ran
ran on a synthesized input
czhaneva/mst-gcn/model/AEMST_GCN.py
code served (permissive licence) · get_code("adf2726a0b3d58c7")
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 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 torch.nn as nn

class HardSwish(nn.Module):

    def __init__(self, inplace=False):
        super(HardSwish, self).__init__()
        self.inplace = inplace

    def forward(self, x):
        inner = nn.functional.relu6(x + 3.0).div_(6.0)
        return x.mul_(inner) if self.inplace else x.mul(inner)

class Swish(nn.Module):

    def __init__(self, inplace=False):
        super(Swish, self).__init__()
        self.inplace = inplace

    def forward(self, x):
        return x.mul_(x.sigmoid()) if self.inplace else x.mul(x.sigmoid())

class Activations(nn.Module):

    def __init__(self, act):
        super(Activations, self).__init__()
        if act == 'relu':
            self.act = nn.ReLU(inplace=True)
        elif act == 'swish':
            self.act = Swish(inplace=True)
        elif act == 'hswish':
            self.act = HardSwish(inplace=True)
        else:
            self.act = nn.ReLU(inplace=True)

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

INIT_ARGS = {
    'act': 'swish'
}

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

if __name__ == '__main__':
    model = Activations(**INIT_ARGS)
    output = model(**ARGS)
    print(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 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: torch and numpy seeded to 0 by the harness immediately before the class was constructed from INIT_ARGS (fixture_check.py)
Basic_GCN_layer Ran
ran on a synthesized input
czhaneva/mst-gcn/model/AEMST_GCN.py
code served (permissive licence) · get_code("b98c6db6e1002327")
How it ran

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

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

class Zero_Layer(nn.Module):
    def __init__(self):
        super(Zero_Layer, self).__init__()

    def forward(self, x):
        return 0

class Basic_Layer(nn.Module):
    def __init__(self, in_channels, out_channels, residual, act=nn.ReLU(inplace=True), **kwargs):
        super(Basic_Layer, self).__init__()
        self.conv = nn.Conv2d(in_channels, out_channels, 1)
        self.bn = nn.BatchNorm2d(out_channels)
        self.residual = nn.Identity() if residual else Zero_Layer()
        self.act = act

    def forward(self, x):
        res = self.residual(x)
        x = self.act(self.bn(self.conv(x)) + res)
        return x

class SpatialGraphCov(nn.Module):
    def __init__(self, in_channels, out_channels, A, **kwargs):
        super(SpatialGraphCov, self).__init__()
        self.num_subset = A.shape[0]
        self.gcn = nn.Conv2d(in_channels, out_channels * A.shape[0], kernel_size=1)
        self.PA = nn.Parameter(torch.from_numpy(A.astype(np.float32)), requires_grad=True)
        A = torch.tensor(A, dtype=torch.float32, requires_grad=False)
        self.register_buffer('A', A)

    def forward(self, x):
        A = self.A + self.PA
        n, c, t, v = x.size()
        x = self.gcn(x).view(n, self.num_subset, -1, t, v)
        x = torch.einsum('nkctv,kvw->nctw', (x, A))
        return x

class Basic_GCN_layer(Basic_Layer):
    def __init__(self, in_channels, out_channels, A, residual, **kwargs):
        super(Basic_GCN_layer, self).__init__(in_channels, out_channels, residual, **kwargs)
        self.conv = SpatialGraphCov(in_channels, out_channels, A, **kwargs)
        if not residual:
            self.residual = Zero_Layer()
        elif in_channels == out_channels:
            self.residual = nn.Identity()
        else:
            self.residual = nn.Sequential(nn.Conv2d(in_channels, out_channels, 1), nn.BatchNorm2d(out_channels))

# Create adjacency matrix: 3 subsets, 5 vertices
A = np.random.randn(3, 5, 5).astype(np.float32)

INIT_ARGS = {
    'in_channels': 4,
    'out_channels': 6,
    'A': A,
    'residual': True,
}

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

if __name__ == '__main__':
    layer = Basic_GCN_layer(**INIT_ARGS)
    output = layer(**ARGS)
    print(f"Output shape: {output.shape}")
    print(f"Expected shape: (2, 6, 8, 5)")
Setup block drafted by
a language model, class construct-then-call prompt, model not recorded
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 4, dtype family float — no output shape is stated: observe_signature.py observed this class with its constructor sizes canonicalised where it could, which the node does not record, so its shape is not stated as this setup block's
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: torch and numpy seeded to 0 by the harness immediately before the class was constructed from INIT_ARGS (fixture_check.py)
Basic_TCN_layer Ran
ran on a synthesized input
czhaneva/mst-gcn/model/AEMST_GCN.py
code served (permissive licence) · get_code("c796ca9dd59fa236")
How it ran

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

import torch
import torch.nn as nn

class Zero_Layer(nn.Module):
    def __init__(self):
        super(Zero_Layer, self).__init__()

    def forward(self, x):
        return 0

class Basic_Layer(nn.Module):
    def __init__(self, in_channels, out_channels, residual, act=nn.ReLU(inplace=True), **kwargs):
        super(Basic_Layer, self).__init__()
        self.conv = nn.Conv2d(in_channels, out_channels, 1)
        self.bn = nn.BatchNorm2d(out_channels)
        self.residual = nn.Identity() if residual else Zero_Layer()
        self.act = act

    def forward(self, x):
        res = self.residual(x)
        x = self.act(self.bn(self.conv(x)) + res)
        return x

class Basic_TCN_layer(Basic_Layer):
    def __init__(self, channels, kernel_size=9, stride=1, residual=True, **kwargs):
        super(Basic_TCN_layer, self).__init__(channels, channels, residual, **kwargs)
        pad = int((kernel_size - 1) / 2)
        self.conv = nn.Conv2d(channels, channels, kernel_size=(kernel_size, 1), padding=(pad, 0), stride=(stride, 1))
        self.bn = nn.BatchNorm2d(channels)
        if not residual:
            self.residual = Zero_Layer()
        elif stride == 1:
            self.residual = nn.Identity()
        else:
            self.residual = nn.Sequential(nn.Conv2d(channels, channels, 1, stride=(stride, 1)), nn.BatchNorm2d(channels))

INIT_ARGS = {
    'channels': 4,
    'kernel_size': 9,
    'stride': 1,
    'residual': True,
}

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

if __name__ == '__main__':
    layer = Basic_TCN_layer(**INIT_ARGS)
    output = layer(**ARGS)
    print(f"Output shape: {output.shape}")
    print(f"Expected shape: {ARGS['x'].shape}")
Setup block drafted by
a language model, class construct-then-call prompt, model not recorded
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 4, dtype family float, shape (2, 4, 8, 3) — shape (2, 4, 8, 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)
Channel_Att Ran
ran on a synthesized input
czhaneva/mst-gcn/model/AEMST_GCN.py
code served (permissive licence) · get_code("48fe3fb98da81973")
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, 16, 1, 1) 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

class Channel_Att(nn.Module):

    def __init__(self, channel, **kwargs):
        super(Channel_Att, self).__init__()
        self.fcn = nn.Sequential(nn.AdaptiveAvgPool2d(1), nn.Conv2d(channel, channel // 4, kernel_size=1), nn.BatchNorm2d(channel // 4), nn.ReLU(inplace=True), nn.Conv2d(channel // 4, channel, kernel_size=1), nn.Sigmoid())

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


INIT_ARGS = {
    'channel': 16
}

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

if __name__ == '__main__':
    model = Channel_Att(**INIT_ARGS)
    output = model(**ARGS)
    print(f"Input shape: {ARGS['x'].shape}")
    print(f"Output shape: {output.shape}")
    print("Success!")
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, 16, 1, 1) — shape (2, 16, 1, 1) 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)
Frame_Att Ran
ran on a synthesized input
czhaneva/mst-gcn/model/AEMST_GCN.py
code served (permissive licence) · get_code("dbee7b6fa4f1ce15")
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, 1, 3, 1) 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

INIT_ARGS = {}

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

if __name__ == '__main__':
    model = nn.Module()
    
    class Frame_Att(nn.Module):

        def __init__(self, **kwargs):
            super(Frame_Att, self).__init__()
            self.avg_pool = nn.AdaptiveAvgPool2d(1)
            self.max_pool = nn.AdaptiveMaxPool2d(1)
            self.conv = nn.Conv2d(2, 1, kernel_size=(9, 1), padding=(4, 0))

        def forward(self, x):
            x = x.transpose(1, 2)
            x = torch.cat([self.avg_pool(x), self.max_pool(x)], dim=2).transpose(1, 2)
            return self.conv(x)
    
    model = Frame_Att(**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, 1, 3, 1) — shape (2, 1, 3, 1) 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)
HardSwish Ran
ran on a synthesized input
czhaneva/mst-gcn/model/AEMST_GCN.py
code served (permissive licence) · get_code("30a4e5eac52b5024")
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 3, 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

INIT_ARGS = {
    'inplace': False
}

ARGS = {
    'x': torch.randn(2, 4, 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 Tensor, ndim 3, 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)
Joint_Att Ran
ran on a synthesized input
czhaneva/mst-gcn/model/AEMST_GCN.py
code served (permissive licence) · get_code("c1df0458dc14ccc0")
How it ran

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

import torch
import torch.nn as nn

# INIT_ARGS: parts is a list of lists representing joint groups
# Each inner list contains joint indices for that part
# For example, [[0, 1, 2], [3, 4]] means 2 parts with 3 and 2 joints respectively
INIT_ARGS = {
    'parts': [[0, 1, 2], [3, 4, 5, 6]]  # 2 parts, total 7 joints
}

# ARGS: forward expects x with shape that will be transposed
# x.transpose(1, 3) suggests x has at least 4 dimensions
# After transpose(1, 3), it goes through AdaptiveAvgPool2d(1) and Conv2d expecting num_joint channels
# So after transpose(1, 3), dim 1 should be num_joint (7 in our case)
# Original x should have shape where dim 3 = num_joint
# Typical shape: (batch, height, width, num_joint) -> transpose(1,3) -> (batch, num_joint, width, height)
ARGS = {
    'x': torch.randn(2, 5, 6, 7)  # batch=2, height=5, width=6, num_joint=7
}
Setup block drafted by
a language model, class construct-then-call prompt, model not recorded
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 4, dtype family float — no output shape is stated: observe_signature.py observed this class with its constructor sizes canonicalised where it could, which the node does not record, so its shape is not stated as this setup block's
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: torch and numpy seeded to 0 by the harness immediately before the class was constructed from INIT_ARGS (fixture_check.py)
MS_GCN_layer Ran
ran on a synthesized input
czhaneva/mst-gcn/model/AEMST_GCN.py
code served (permissive licence) · get_code("75741374fad8b7e5")
How it ran

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

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

# Create a small adjacency matrix A with shape (num_subset, num_nodes, num_nodes)
num_subset = 3
num_nodes = 5
A = np.random.rand(num_subset, num_nodes, num_nodes).astype(np.float32)
# Normalize to make it more like a graph adjacency matrix
A = A / (A.sum(axis=-1, keepdims=True) + 1e-6)

INIT_ARGS = {
    'in_channels': 8,
    'out_channels': 12,
    's_scale': 2,
    'A': A,
    'expand_ratio': 2,
    'layer_type': 'sep',
    'residual': True,
    'act': nn.ReLU(inplace=True)
}

# Create input tensor with shape (batch, channels, time, vertices)
batch_size = 2
time_steps = 6
x = torch.randn(batch_size, INIT_ARGS['in_channels'], time_steps, num_nodes)

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

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

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

# INIT_ARGS for MS_TCN_layer.__init__
INIT_ARGS = {
    'channels': 8,
    't_scale': 2,
    'kernel_size': 5,
    'stride': 1,
    'expand_ratio': 2,
    'residual': True,
    'act': nn.ReLU(inplace=True),
    'layer_type': 'sep'
}

# ARGS for MS_TCN_layer.forward
# Input shape: (batch, channels, temporal, vertices)
ARGS = {
    'x': torch.randn(2, 8, 10, 5)
}
Setup block drafted by
a language model, class construct-then-call prompt, model not recorded
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 4, dtype family float — no output shape is stated: observe_signature.py observed this class with its constructor sizes canonicalised where it could, which the node does not record, so its shape is not stated as this setup block's
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: torch and numpy seeded to 0 by the harness immediately before the class was constructed from INIT_ARGS (fixture_check.py)
MS_Temporal_Bottleneck_Layer Ran
ran on a synthesized input
czhaneva/mst-gcn/model/AEMST_GCN.py
code served (permissive licence) · get_code("d2414716f801d45c")
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, 16, 8, 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 torch.nn as nn

INIT_ARGS = {
    'channels': 16,
    't_scale': 2,
    'kernel_size': 9,
    'stride': 1,
    'reduct_ratio': 2,
    'residual': True,
    'act': nn.ReLU(inplace=True),
}

ARGS = {
    'x': torch.randn(2, 16, 8, 4),
}
Setup block drafted by
a language model, class construct-then-call prompt, model not recorded
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 4, dtype family float, shape (2, 16, 8, 4) — shape (2, 16, 8, 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: torch and numpy seeded to 0 by the harness immediately before the class was constructed from INIT_ARGS (fixture_check.py)
Part_Att Ran
ran on a synthesized input
czhaneva/mst-gcn/model/AEMST_GCN.py
code served (permissive licence) · get_code("c5666841a031b400")
How it ran

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

import torch
import torch.nn as nn

# Define parts as groups of joint indices
# For a small example, let's say we have 8 joints total, grouped into 3 parts
parts = [
    [0, 1, 2],      # part 0: joints 0, 1, 2
    [3, 4],         # part 1: joints 3, 4
    [5, 6, 7]       # part 2: joints 5, 6, 7
]

INIT_ARGS = {
    'channel': 16,
    'parts': parts,
    'reduct_ratio': 4,
    'bias': True
}

# Create input tensor with shape (N, C, T, V)
# N = batch size, C = channels, T = temporal frames, V = number of joints
N = 2
C = 16  # must match 'channel' in INIT_ARGS
T = 5
V = 8   # must match total number of joints in parts (3 + 2 + 3 = 8)

x = torch.randn(N, C, T, V)

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

import torch
import torch.nn as nn

# Import the classes
import torch.nn as nn
import torch

class HardSwish(nn.Module):

    def __init__(self, inplace=False):
        super(HardSwish, self).__init__()
        self.inplace = inplace

    def forward(self, x):
        inner = nn.functional.relu6(x + 3.0).div_(6.0)
        return x.mul_(inner) if self.inplace else x.mul(inner)

class ST_Joint_Att(nn.Module):

    def __init__(self, channel, reduct_ratio, bias, **kwargs):
        super(ST_Joint_Att, self).__init__()
        inner_channel = channel // reduct_ratio
        self.fcn = nn.Sequential(nn.Conv2d(channel, inner_channel, kernel_size=1, bias=bias), nn.BatchNorm2d(inner_channel), HardSwish(inplace=True))
        self.conv_t = nn.Conv2d(inner_channel, channel, kernel_size=1)
        self.conv_v = nn.Conv2d(inner_channel, channel, kernel_size=1)

    def forward(self, x):
        N, C, T, V = x.size()
        x_t = x.mean(3, keepdims=True)
        x_v = x.mean(2, keepdims=True).transpose(2, 3)
        x_att = self.fcn(torch.cat([x_t, x_v], dim=2))
        x_t, x_v = torch.split(x_att, [T, V], dim=2)
        x_t_att = self.conv_t(x_t).sigmoid()
        x_v_att = self.conv_v(x_v.transpose(2, 3)).sigmoid()
        x_att = x_t_att * x_v_att
        return x_att

# Setup
INIT_ARGS = {
    'channel': 8,
    'reduct_ratio': 2,
    'bias': True,
}

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

# Construct and call
model = ST_Joint_Att(**INIT_ARGS)
output = model(**ARGS)
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, 8, 4, 3) — shape (2, 8, 4, 3) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: torch and numpy seeded to 0 by the harness immediately before the class was constructed from INIT_ARGS (fixture_check.py)
SpatialGraphCov Ran
ran on a synthesized input
czhaneva/mst-gcn/model/AEMST_GCN.py
code served (permissive licence) · get_code("5af17e125ae250fa")
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, 6, 3) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

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

# Create a small adjacency matrix for the graph
# Shape: (num_subset, num_vertices, num_vertices)
num_subset = 2
num_vertices = 3
A = np.random.randn(num_subset, num_vertices, num_vertices).astype(np.float32)

INIT_ARGS = {
    'in_channels': 4,
    'out_channels': 5,
    'A': A,
}

# For forward pass:
# x shape: (batch_size, in_channels, time_steps, num_vertices)
ARGS = {
    'x': torch.randn(2, 4, 6, 3),
}

if __name__ == '__main__':
    from torch.nn import Module
    
    class SpatialGraphCov(nn.Module):

        def __init__(self, in_channels, out_channels, A, **kwargs):
            super(SpatialGraphCov, self).__init__()
            self.num_subset = A.shape[0]
            self.gcn = nn.Conv2d(in_channels, out_channels * A.shape[0], kernel_size=1)
            self.PA = nn.Parameter(torch.from_numpy(A.astype(np.float32)), requires_grad=True)
            A = torch.tensor(A, dtype=torch.float32, requires_grad=False)
            self.register_buffer('A', A)

        def forward(self, x):
            A = self.A + self.PA
            n, c, t, v = x.size()
            x = self.gcn(x).view(n, self.num_subset, -1, t, v)
            x = torch.einsum('nkctv,kvw->nctw', (x, A))
            return x

    model = SpatialGraphCov(**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
numpy, 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, 6, 3) — shape (2, 5, 6, 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)
Spatial_Bottleneck_Layer Ran
ran on a synthesized input
czhaneva/mst-gcn/model/AEMST_GCN.py
code served (permissive licence) · get_code("5080808855c5f5ab")
How it ran

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

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

# Create a small adjacency matrix for the graph
# Shape: (num_subset, num_vertices, num_vertices)
num_subset = 2
num_vertices = 3
A = np.random.randn(num_subset, num_vertices, num_vertices).astype(np.float32)

INIT_ARGS = {
    'in_channels': 4,
    'out_channels': 8,
    'A': A,
    'reduct_ratio': 2,
    'residual': True,
    'act': nn.ReLU(inplace=True),
}

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

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

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

# Define the adjacency matrix A
# Shape: (num_subset, num_vertices, num_vertices)
# Using 2 subsets, 3 vertices
A = np.array([
    [[1, 1, 0],
     [1, 1, 1],
     [0, 1, 1]],
    [[1, 0, 1],
     [0, 1, 0],
     [1, 0, 1]]
], dtype=np.float32)

INIT_ARGS = {
    'in_channels': 4,
    'out_channels': 8,
    'A': A,
    'expand_ratio': 2,
    'residual': True,
    'act': nn.ReLU(inplace=True),
}

# Input tensor: (batch_size, in_channels, time_steps, num_vertices)
ARGS = {
    'x': torch.randn(2, 4, 5, 3),
}

# Construct and call
layer = nn.Module.__new__(type('Spatial_Sep_Layer', (nn.Module,), {
    '__init__': lambda self: None,
    'forward': lambda self, x: None
}))

# Manually initialize using the class definition
import sys
sys.path.insert(0, '')

class Zero_Layer(nn.Module):
    def __init__(self):
        super(Zero_Layer, self).__init__()

    def forward(self, x):
        return 0

class Spatial_Sep_Layer(nn.Module):
    def __init__(self, in_channels, out_channels, A, expand_ratio=0, residual=True, act=nn.ReLU(inplace=True), **kwargs):
        super(Spatial_Sep_Layer, self).__init__()
        self.act = act
        self.num_subset = A.shape[0]
        if expand_ratio > 0:
            inner_channel = in_channels * expand_ratio
            self.expand_conv = nn.Sequential(nn.Conv2d(in_channels, inner_channel, 1), nn.BatchNorm2d(inner_channel))
        else:
            inner_channel = in_channels
            self.expand_conv = None
        self.depth_gcn = nn.Conv2d(inner_channel, inner_channel * A.shape[0], kernel_size=1, groups=inner_channel)
        self.depth_bn = nn.BatchNorm2d(inner_channel)
        self.point_gcn_bn = nn.Sequential(nn.Conv2d(inner_channel, out_channels, kernel_size=1), nn.BatchNorm2d(out_channels))
        self.PA = nn.Parameter(torch.from_numpy(A.astype(np.float32)), requires_grad=True)
        A_tensor = torch.tensor(A, dtype=torch.float32, requires_grad=False)
        self.register_buffer('A', A_tensor)
        if not residual:
            self.residual = Zero_Layer()
        elif in_channels == out_channels:
            self.residual = nn.Identity()
        else:
            self.residual = nn.Sequential(nn.Conv2d(in_channels, out_channels, 1), nn.BatchNorm2d(out_channels))

    def forward(self, x):
        res = self.residual(x)
        A = self.A + self.PA
        if self.expand_conv is not None:
            x = self.act(self.expand_conv(x))
        n, c, t, v = x.size()
        x = self.depth_gcn(x).view(n, -1, self.num_subset, t, v)
        x = torch.einsum('ncktv,kvw->nctw', (x, A))
        x = self.act(self.depth_bn(x))
        x = self.point_gcn_bn(x)
        return x + res

layer = Spatial_Sep_Layer(**INIT_ARGS)
output = layer(**ARGS)
Setup block drafted by
a language model, class construct-then-call prompt, model not recorded
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 4, dtype family float — no output shape is stated: observe_signature.py observed this class with its constructor sizes canonicalised where it could, which the node does not record, so its shape is not stated as this setup block's
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: torch and numpy seeded to 0 by the harness immediately before the class was constructed from INIT_ARGS (fixture_check.py)
Swish Ran
ran on a synthesized input
czhaneva/mst-gcn/model/AEMST_GCN.py
code served (permissive licence) · get_code("f96addd2fbf1a9ff")
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 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 torch.nn as nn

class Swish(nn.Module):

    def __init__(self, inplace=False):
        super(Swish, self).__init__()
        self.inplace = inplace

    def forward(self, x):
        return x.mul_(x.sigmoid()) if self.inplace else x.mul(x.sigmoid())


INIT_ARGS = {
    'inplace': False
}

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

if __name__ == '__main__':
    swish = Swish(**INIT_ARGS)
    output = swish(**ARGS)
    print(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 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: torch and numpy seeded to 0 by the harness immediately before the class was constructed from INIT_ARGS (fixture_check.py)
Temporal_Bottleneck_Layer Ran
ran on a synthesized input
czhaneva/mst-gcn/model/AEMST_GCN.py
code served (permissive licence) · get_code("50d877700bf66c6e")
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, 8, 4, 3) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn

# Define initialization arguments
INIT_ARGS = {
    'channels': 8,
    'kernel_size': 9,
    'stride': 1,
    'reduct_ratio': 2,
    'residual': True,
    'act': nn.ReLU(inplace=True),
}

# Define forward pass arguments
ARGS = {
    'x': torch.randn(2, 8, 4, 3),
}

# Construct and call the class
zero_layer = nn.Module()

class Zero_Layer(nn.Module):
    def __init__(self):
        super(Zero_Layer, self).__init__()

    def forward(self, x):
        return 0

class Temporal_Bottleneck_Layer(nn.Module):
    def __init__(self, channels, kernel_size=9, stride=1, reduct_ratio=2, residual=True, act=nn.ReLU(inplace=True), **kwargs):
        super(Temporal_Bottleneck_Layer, self).__init__()
        inner_channel = channels // reduct_ratio
        pad = int((kernel_size - 1) / 2)
        self.act = act
        self.reduct_conv = nn.Sequential(nn.Conv2d(channels, inner_channel, 1), nn.BatchNorm2d(inner_channel))
        self.conv = nn.Sequential(nn.Conv2d(inner_channel, inner_channel, (kernel_size, 1), (stride, 1), (pad, 0)), nn.BatchNorm2d(inner_channel))
        self.expand_conv = nn.Sequential(nn.Conv2d(inner_channel, channels, 1), nn.BatchNorm2d(channels))
        if not residual:
            self.residual = Zero_Layer()
        elif stride == 1:
            self.residual = nn.Identity()
        else:
            self.residual = nn.Sequential(nn.Conv2d(channels, channels, 1, stride=(stride, 1)), nn.BatchNorm2d(channels))

    def forward(self, x):
        res = self.residual(x)
        x = self.act(self.reduct_conv(x))
        x = self.act(self.conv(x))
        x = self.act(self.expand_conv(x) + res)
        return x

model = Temporal_Bottleneck_Layer(**INIT_ARGS)
output = model(**ARGS)
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, 8, 4, 3) — shape (2, 8, 4, 3) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: torch and numpy seeded to 0 by the harness immediately before the class was constructed from INIT_ARGS (fixture_check.py)
Temporal_Sep_Layer Ran
ran on a synthesized input
czhaneva/mst-gcn/model/AEMST_GCN.py
code served (permissive licence) · get_code("ec58271211aef2f7")
How it ran

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

import torch
import torch.nn as nn

INIT_ARGS = {
    'channels': 4,
    'kernel_size': 9,
    'stride': 1,
    'expand_ratio': 2,
    'residual': True,
    'act': nn.ReLU(inplace=True),
}

ARGS = {
    'x': torch.randn(2, 4, 8, 6),
}
Setup block drafted by
a language model, class construct-then-call prompt, model not recorded
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 4, dtype family float — no output shape is stated: observe_signature.py observed this class with its constructor sizes canonicalised where it could, which the node does not record, so its shape is not stated as this setup block's
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: torch and numpy seeded to 0 by the harness immediately before the class was constructed from INIT_ARGS (fixture_check.py)
Zero_Layer Ran
ran on a synthesized input
czhaneva/mst-gcn/model/AEMST_GCN.py
code served (permissive licence) · get_code("3ab2a8a648baad65")
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 torch
import torch.nn as nn

class Zero_Layer(nn.Module):

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

    def forward(self, x):
        return 0


INIT_ARGS = {}

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

if __name__ == '__main__':
    layer = Zero_Layer(**INIT_ARGS)
    output = layer(**ARGS)
    print(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 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)
Attention_Layer Not yet run
unverified (harvested, no recorded run)
czhaneva/mst-gcn/model/AEMST_GCN.py
code served (permissive licence) · get_code("702b399cba4cde41")
How it ran

no invocation recorded.

Basic_Layer Not yet run
unverified (harvested, no recorded run)
czhaneva/mst-gcn/model/AEMST_GCN.py
code served (permissive licence) · get_code("2793d688802c51f8")
How it ran

no invocation recorded.

MST_GCN_block Not yet run
unverified (harvested, no recorded run)
czhaneva/mst-gcn/model/AEMST_GCN.py
code served (permissive licence) · get_code("2a8639e74ce27e44")
How it ran

no invocation recorded.

MS_Spatial_Bottleneck_Layer Not yet run
unverified (harvested, no recorded run)
czhaneva/mst-gcn/model/AEMST_GCN.py
code served (permissive licence) · get_code("45f3e4bb934a1064")
How it ran

no invocation recorded.

Model Not yet run
unverified (harvested, no recorded run)
czhaneva/mst-gcn/model/AEMST_GCN.py
code served (permissive licence) · get_code("6734a97abcc87eb8")
How it ran

no invocation recorded.

STC_Joint_Att Not yet run
unverified (harvested, no recorded run)
czhaneva/mst-gcn/model/AEMST_GCN.py
code served (permissive licence) · get_code("20ef600dd57166cb")
How it ran

no invocation recorded.

conv_branch_init Not yet run
unverified (harvested, no recorded run)
czhaneva/mst-gcn/model/AEMST_GCN.py
code served (permissive licence) · get_code("a80e2c1116a03a17")
How it ran

no invocation recorded.

Also present in other papers' code

Of 26 samples lifted from this paper's linked repositories, 26 carry a function identity and 0 do not. Of the 26 distinct functions with an identity, 0 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 0 later) and 26 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.

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

Graph convolutional networks have been widely used for skeleton-based action recognition due to their excellent modeling ability of non-Euclidean data. As the graph convolution is a local operation, it can only utilize the short-range joint dependencies and short-term trajectory but fails to directly model the distant joints relations and long-range temporal information that are vital to distinguishing various actions. To solve this problem, we present a multi-scale spatial graph convolution (MS-GC) module and a multi-scale temporal graph convolution (MT-GC) module to enrich the receptive field of the model in spatial and temporal dimensions. Concretely, the MS-GC and MT-GC modules decompose the corresponding local graph convolution into a set of subgraph convolution, forming a hierarchical residual architecture. Without introducing additional parameters, the features will be processed with a series of sub-graph convolutions, and each node could complete multiple spatial and temporal aggregations with its neighborhoods. The final equivalent receptive field is accordingly enlarged, which is capable of capturing both short-and long-range dependencies in spatial and temporal domains. By coupling these two modules as a basic block, we further propose a multi-scale spatial temporal graph convolutional network (MST-GCN), which stacks multiple blocks to learn effective motion representations for action recognition. The proposed MST-GCN achieves remarkable performance on three challenging benchmark datasets, NTU RGB+D, NTU-120 RGB+D and Kinetics-Skeleton, for skeleton-based action recognition.

For agents

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

get_harvested_code_for_paper("2206.13028")
get_code_for_paper("2206.13028")
have("2206.13028")

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

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

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

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

Connect an agent — have() is free.