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

Function compute_rope_rotations

ThinkSound/models/embeddings.py:16–32  ·  view source on GitHub ↗
(length: int,
                           dim: int,
                           theta: int,
                           *,
                           freq_scaling: float = 1.0,
                           device: Union[torch.device, str] = 'cpu')

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

initialize_rotationsMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected