MCPcopy Create free account
hub / github.com/FunAudioLLM/ThinkSound / __init__

Method __init__

ThinkSound/models/transformer_layers.py:137–168  ·  view source on GitHub ↗
(self,
                 dim: int,
                 nhead: int,
                 mlp_ratio: float = 4.0,
                 pre_only: bool = False,
                 kernel_size: int = 7,
                 padding: int = 3,
                 cross_attend: bool = False)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 6

SelfAttentionClass · 0.85
CrossAttentionClass · 0.85
ChannelLastConv1dClass · 0.85
MLPClass · 0.85
ConvMLPClass · 0.85
__init__Method · 0.45

Tested by

no test coverage detected