SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2608.01839 · 2026

tFUSOperator: Operator Learning for Transcranial Focused Ultrasound Digital Twins

Seonaeng Cho, Minjee Seo, Minju Seol, Kyungho Yoon, Haris Ghafoor

arXiv · PDF · Open in the Atlas

Code that ran

16 of 19 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (13 of them constructed an object rather than computing a result; 2 honoured the contract we drafted, 0 violated it and 13 have no contract verdict; 1 failure of our instrument; 3 no recorded run), measured 2026-11-23; 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/2608.01839.json · badge: /api/ran/2608.01839.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
CMME-Lab/tFUSOperator community
Papers with Code archive
16 ran · 3 no recorded run
FunctionStatusWhere it lives
CTEncoder Ran
ran on a synthesized input · constructed an object; no result was computed
CMME-Lab/tFUSOperator/models/model.py
code served (permissive licence) · get_code("3999513d698fb8fa")
How it ran

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

import torch
import torch.nn as nn

torch.manual_seed(0)

ARGS = {
    'embed_dim': 16,
    'patch_size': 1,
    'channels': 8,
    'depth': 2,
}
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 CTEncoder — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a CTEncoder 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
ConditioningModule Ran
ran on a synthesized input · constructed an object; no result was computed
CMME-Lab/tFUSOperator/models/model.py
code served (permissive licence) · get_code("bc63ea206c801c0d")
How it ran

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

import torch
import torch.nn as nn
import math

torch.manual_seed(0)

ARGS = {
    'embed_dim': 4,
    'domain_size_mm': (100.0, 120.0, 140.0),
    'sources': ('freq', 'pos', 'angle'),
    'freq_range_hz': (200000.0, 700000.0),
    'num_fourier_bands': 8,
    'dropout_p': 0.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 ConditioningModule — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a ConditioningModule 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
CoordDecoupledCrossAttention Ran
ran on a synthesized input · constructed an object; no result was computed
CMME-Lab/tFUSOperator/models/model.py
code served (permissive licence) · get_code("fd86342fc7a0d53c")
How it ran

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

import torch
import torch.nn as nn

torch.manual_seed(0)

# Define the arguments for CoordDecoupledCrossAttention
ARGS = {
    "dim": 8,
    "num_heads": 2,
    "mlp_ratio": 4.0,
    "dropout": 0.1,
}

# Create instance to verify it works
model = nn.Module()
model.__class__ = type('CoordDecoupledCrossAttention', (nn.Module,), {
    '__init__': lambda self, dim, num_heads, mlp_ratio=4.0, dropout=0.0: None
})

# Verify the arguments are valid by checking divisibility
assert ARGS["dim"] % ARGS["num_heads"] == 0, "dim must be divisible by num_heads"
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 CoordDecoupledCrossAttention — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a CoordDecoupledCrossAttention 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
CrossAttentionBlock Ran
ran on a synthesized input · constructed an object; no result was computed
CMME-Lab/tFUSOperator/models/model.py
code served (permissive licence) · get_code("4127b58f3bea744a")
How it ran

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

import torch
import torch.nn as nn

torch.manual_seed(0)

# Define the CrossAttentionBlock class (from the function definition)
class CrossAttentionBlock(nn.Module):
    """
    Pre-norm cross-attention with K and V drawn from the same tensor.

    Forward:
        q_n  = LN(q)
        kv_n = LN(kv)
        q   <- q + Attn(q_n, kv_n, kv_n)
        q   <- q + MLP(LN(q))
    """

    def __init__(self, dim: int, num_heads: int, mlp_ratio: float=4.0, dropout: float=0.0):
        super().__init__()
        if dim % num_heads != 0:
            raise ValueError(f'dim {dim} not divisible by num_heads {num_heads}')
        self.num_heads = num_heads
        self.head_dim = dim // num_heads
        self.norm_q = nn.LayerNorm(dim)
        self.norm_kv = nn.LayerNorm(dim)
        self.to_q = nn.Linear(dim, dim, bias=True)
        self.to_kv = nn.Linear(dim, 2 * dim, bias=True)
        self.proj = nn.Linear(dim, dim, bias=True)
        self.proj_drop = nn.Dropout(dropout)
        hidden = int(dim * mlp_ratio)
        self.norm_mlp = nn.LayerNorm(dim)
        self.mlp = nn.Sequential(nn.Linear(dim, hidden), nn.GELU(), nn.Dropout(dropout), nn.Linear(hidden, dim), nn.Dropout(dropout))

    def forward(self, q: torch.Tensor, kv: torch.Tensor) -> torch.Tensor:
        B, Nq, d = q.shape
        Nkv = kv.size(1)
        H, Hd = (self.num_heads, self.head_dim)
        qn = self.norm_q(q)
        kvn = self.norm_kv(kv)
        qh = self.to_q(qn).view(B, Nq, H, Hd).transpose(1, 2)
        kh, vh = self.to_kv(kvn).chunk(2, dim=-1)
        kh = kh.view(B, Nkv, H, Hd).transpose(1, 2)
        vh = vh.view(B, Nkv, H, Hd).transpose(1, 2)
        out = torch.nn.functional.scaled_dot_product_attention(qh, kh, vh, is_causal=False)
        out = out.transpose(1, 2).contiguous().view(B, Nq, d)
        out = self.proj_drop(self.proj(out))
        q = q + out
        q = q + self.mlp(self.norm_mlp(q))
        return q

# Construct arguments for the __init__ method
dim = 4
num_heads = 2
mlp_ratio = 4.0
dropout = 0.1

ARGS = {
    'dim': dim,
    'num_heads': num_heads,
    'mlp_ratio': mlp_ratio,
    'dropout': dropout
}
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 CrossAttentionBlock — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a CrossAttentionBlock 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
DiTModulation Ran
ran on a synthesized input · constructed an object; no result was computed
CMME-Lab/tFUSOperator/models/model.py
code served (permissive licence) · get_code("6d01b8b1fed9c53f")
How it ran

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

import torch
import torch.nn as nn

torch.manual_seed(0)

ARGS = {
    'embed_dim': 4
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type DiTModulation — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a DiTModulation 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
FourierFeatures Ran
ran on a synthesized input · constructed an object; no result was computed
CMME-Lab/tFUSOperator/models/model.py
code served (permissive licence) · get_code("9b82c60619bb1b19")
How it ran

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

import torch
import torch.nn as nn
import math

torch.manual_seed(0)

ARGS = {
    'num_bands': 8,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type FourierFeatures — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a FourierFeatures 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
LatentProcessor Ran
ran on a synthesized input · constructed an object; no result was computed
CMME-Lab/tFUSOperator/models/model.py
code served (permissive licence) · get_code("0f193d38134749ae")
How it ran

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

import torch
import torch.nn as nn

torch.manual_seed(0)

# Since LatentProcessor is cut off, I need to infer its signature from context.
# Based on the docstring and typical transformer processor patterns:
# LatentProcessor(dim, depth, num_heads, mlp_ratio, dropout, use_dit, final_norm)

ARGS = {
    'dim': 4,
    'depth': 2,
    'num_heads': 2,
    'mlp_ratio': 2.0,
    'dropout': 0.0,
    'use_dit': True,
    'final_norm': True,
}
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 LatentProcessor — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a LatentProcessor 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
PatchEmbed3D Ran
ran on a synthesized input · constructed an object; no result was computed
CMME-Lab/tFUSOperator/models/model.py
code served (permissive licence) · get_code("d432e63b4d8a0f81")
How it ran

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

import torch
import torch.nn as nn

torch.manual_seed(0)

# PatchEmbed3D expects:
# - in_channels: int
# - embed_dim: int
# - patch_size: int (default=4)
#
# The forward method expects a 5D input tensor (B, C_in, H, W, D)
# where H, W, D are divisible by patch_size.

# Create a test input tensor
# Shape: (B=2, C_in=3, H=8, W=12, D=16)
# These dimensions are divisible by patch_size=4
batch_size = 2
in_channels = 3
embed_dim = 64
patch_size = 4

H, W, D = 8, 12, 16

test_input = torch.randn(batch_size, in_channels, H, W, D)

# Define ARGS dict with all parameters for PatchEmbed3D.__init__
ARGS = {
    'in_channels': in_channels,
    'embed_dim': embed_dim,
    'patch_size': patch_size,
}
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 PatchEmbed3D — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a PatchEmbed3D 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
ResBlock3d Ran
ran on a synthesized input · constructed an object; no result was computed
CMME-Lab/tFUSOperator/models/model.py
code served (permissive licence) · get_code("59d6fb044bc2dbf2")
How it ran

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

import torch
import torch.nn as nn

torch.manual_seed(0)

ARGS = {
    "c": 8,
    "groups": 8,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ResBlock3d — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a ResBlock3d 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
SelfAttention Ran
ran on a synthesized input · constructed an object; no result was computed
CMME-Lab/tFUSOperator/models/model.py
code served (permissive licence) · get_code("5045ed55ca7c16d6")
How it ran

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

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

class SelfAttention(nn.Module):
    """Fused-QKV multi-head self-attention. No masking (all tokens valid)."""

    def __init__(self, dim: int, num_heads: int, dropout: float=0.0):
        super().__init__()
        if dim % num_heads != 0:
            raise ValueError(f'dim {dim} not divisible by num_heads {num_heads}')
        self.num_heads = num_heads
        self.head_dim = dim // num_heads
        self.qkv = nn.Linear(dim, 3 * dim, bias=True)
        self.proj = nn.Linear(dim, dim, bias=True)
        self.proj_drop = nn.Dropout(dropout)

    def forward(self, x: torch.Tensor) -> torch.Tensor:
        B, N, d = x.shape
        H, Hd = (self.num_heads, self.head_dim)
        q, k, v = self.qkv(x).chunk(3, dim=-1)
        q = q.view(B, N, H, Hd).transpose(1, 2)
        k = k.view(B, N, H, Hd).transpose(1, 2)
        v = v.view(B, N, H, Hd).transpose(1, 2)
        out = F.scaled_dot_product_attention(q, k, v, is_causal=False)
        out = out.transpose(1, 2).contiguous().view(B, N, d)
        return self.proj_drop(self.proj(out))

torch.manual_seed(0)

ARGS = {
    "dim": 4,
    "num_heads": 2,
    "dropout": 0.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 SelfAttention — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a SelfAttention 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
SinusoidalPE3D Ran
ran on a synthesized input · constructed an object; no result was computed
CMME-Lab/tFUSOperator/models/model.py
code served (permissive licence) · get_code("a4f590552ca7da9a")
How it ran

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

import torch
import torch.nn as nn
import math

torch.manual_seed(0)

# Create valid arguments for SinusoidalPE3D
ARGS = {
    'dim': 12,           # Must be divisible by 6
    'num_bands': None,   # Optional, will be inferred from dim
    'max_freq': None,    # Optional, will use default geometric series
}

# Test instantiation to verify arguments work
module = nn.Module()
encoder = module.__class__.__bases__[0].__subclasses__()[0]
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 SinusoidalPE3D — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a SinusoidalPE3D 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
SourceEmbedder Ran
ran on a synthesized input · constructed an object; no result was computed
CMME-Lab/tFUSOperator/models/model.py
code served (permissive licence) · get_code("09af8afc68c9c09a")
How it ran

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

import torch
import torch.nn as nn
import math

torch.manual_seed(0)

ARGS = {
    'in_channels': 3,
    'embed_dim': 16,
    'num_fourier_bands': 4,
    'hidden_ratio': 2.0,
}
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 SourceEmbedder — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a SourceEmbedder 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
TransformerBlock Ran
ran on a synthesized input · constructed an object; no result was computed
CMME-Lab/tFUSOperator/models/model.py
code served (permissive licence) · get_code("fd3ab8b08108ae49")
How it ran

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

import torch
import torch.nn as nn

torch.manual_seed(0)

# Create minimal valid arguments for TransformerBlock
ARGS = {
    "dim": 4,
    "num_heads": 2,
    "mlp_ratio": 4.0,
    "dropout": 0.0,
    "use_dit": True,
}
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 TransformerBlock — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a TransformerBlock 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
_build_intra_patch_coords Ran
ran, honoured the contract we drafted
CMME-Lab/tFUSOperator/models/model.py
code served (permissive licence) · get_code("944424a87f52a84c")
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 (64, 3) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch

torch.manual_seed(0)

ARGS = {
    "P": 4,
    "dtype": torch.float32,
}
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 (64, 3) — shape (64, 3) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
fold_patches_to_volume Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
CMME-Lab/tFUSOperator/models/model.py
code served (permissive licence) · get_code("65b8d8f45789bfe6")
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 4, dtype family float, shape (2, 15, 20, 10) 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)

# Construct patch_voxels with shape (B, Gx*Gy*Gz, P, P, P)
B = 2
Gx, Gy, Gz = 3, 4, 2
P = 5
num_patches = Gx * Gy * Gz

patch_voxels = torch.randn(B, num_patches, P, P, P)

grid_shape = (Gx, Gy, Gz)

ARGS = {
    "patch_voxels": patch_voxels,
    "grid_shape": grid_shape,
}
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 4, dtype family float, shape (2, 15, 20, 10) — shape (2, 15, 20, 10) 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
modulate Ran
ran, honoured the contract we drafted
CMME-Lab/tFUSOperator/models/model.py
code served (permissive licence) · get_code("e2f6da8d5f0170c7")
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, 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 torch

torch.manual_seed(0)

# Create tiny tensors matching the function signature
# x:     (B, N, d) - batch=2, num_tokens=3, dim=4
# gamma: (B, d)    - batch=2, dim=4
# beta:  (B, d)    - batch=2, dim=4

x = torch.randn(2, 3, 4)
gamma = torch.randn(2, 4)
beta = torch.randn(2, 4)

ARGS = {
    "x": x,
    "gamma": gamma,
    "beta": beta,
}
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 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
TFUSDecoder Not yet run
unverified (harvested, no recorded run)
CMME-Lab/tFUSOperator/models/model.py
code served (permissive licence) · get_code("c702b5fbc5293900")
How it ran

no invocation recorded.

TFUSDualEncoder Not yet run
unverified (harvested, no recorded run)
CMME-Lab/tFUSOperator/models/model.py
code served (permissive licence) · get_code("f879c9a35763b63b")
How it ran

no invocation recorded.

TFUSOperator Not yet run
unverified (harvested, no recorded run)
CMME-Lab/tFUSOperator/models/model.py
code served (permissive licence) · get_code("94bc59850635dba0")
How it ran

no invocation recorded.

Also present in other papers' code

Of 19 samples lifted from this paper's linked repositories, 19 carry a function identity and 0 do not. Of the 19 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 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.

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

Transcranial focused ultrasound (tFUS) requires accurate estimation of the intracranial acoustic field, which is distorted by skullinduced aberrations. Numerical solvers are accurate but computationally expensive for digital twins, where the field must be re-estimated repeatedly as treatment conditions change. Existing deep-learning surrogates are fast but typically use voxel-to-voxel regression on a fixed grid, with no mechanism reflecting how acoustic energy propagates through the skull. We instead cast tFUS simulation as an operator learning problem and propose tFUSOperator, a coordinate-aware neural operator that maps the free-field pressure, skull anatomy, and treatment parameters to the intracranial field within a shared physical coordinate frame. To our knowledge, this is the first operator-based formulation of tFUS field prediction. On both seen and unseen skulls, the model localizes the acoustic focus accurately-reaching about 90% and 72% Dice, respectively-and it performs nearly as well from magnetic resonance (MR) as from computed tomography (CT) input while running 5.6 × 10 4 times faster than numerical simulation. These results suggest a fast, radiation-free route to safe and practical digital twins for patient-specific tFUS treatment. The code is available at: https://github.com/CMME-Lab/tFUSOperator.git.

For agents

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

get_harvested_code_for_paper("2608.01839")
get_code_for_paper("2608.01839")
have("2608.01839")

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

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

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

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

Connect an agent — have() is free.