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

Method __init__

ThinkSound/models/transformer.py:703–761  ·  view source on GitHub ↗
(
        self,
        dim,
        depth,
        *,
        dim_in = None,
        dim_out = None,
        dim_heads = 64,
        cross_attend=False,
        cond_token_dim=None,
        global_cond_dim=None,
        causal=False,
        rotary_pos_emb=True,
        zero_init_branch_outputs=True,
        conformer=False,
        use_sinusoidal_emb=False,
        use_abs_pos_emb=False,
        abs_pos_emb_max_length=10000,
        **kwargs
        )

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 5

RotaryEmbeddingClass · 0.85
TransformerBlockClass · 0.85
__init__Method · 0.45

Tested by

no test coverage detected