Methodforward Args: x: [B, C, T] concatenated DiT hidden states Returns: List of [B, 1, T_i] score tensors, one per sub-he
stable_audio_tools/models/arc.py:373
Methodforward waveform: [B, T] or [B, C, T] (real) returns: if power is None: complex STFT [B, F, M] or [B, C, F, M] else:
stable_audio_tools/models/transforms.py:460
Methodforward(self, x: torch.Tensor, t: torch.Tensor, cond: tp.Dict[str, tp.Any], **kwargs)
stable_audio_tools/models/diffusion.py:269
Methodforward(self, x, stride = None, return_features = False, override_new_tokens = None, prepend_cond = None, cross_attn_
stable_audio_tools/models/autoencoders.py:182
Methodforward(self, x, mask=None, prepend_cond=None, prepend_cond_mask=None, cross_attn_cond=None, global_cond=None, use_ca
stable_audio_tools/models/lm_backbone.py:80
Methodforward(
self,
x,
context = None,
global_cond=None,
local_add_cond=None,
stable_audio_tools/models/transformer.py:993
Methodforward(
self,
x,
context = None,
prepend_embeds = None,
global_cond = None,
stable_audio_tools/models/transformer.py:1157
Methodforward(self, inputs: tp.Union[tp.List[str], tp.List[tp.Dict[str, torch.Tensor]]], device: tp.Union[torch.device, str
stable_audio_tools/models/conditioners.py:616
Methodforward(self, inputs: tp.Union[tp.List[str], tp.List[tp.Dict[str, torch.Tensor]]], device: tp.Union[torch.device, str
stable_audio_tools/models/conditioners.py:903
Methodforward(self, latents, mask=None, noise_levels=None, return_hidden_states=False, **kwargs)
stable_audio_tools/models/clap.py:70