MCPcopy Create free account

hub / github.com/Stability-AI/stable-audio-tools / functions

Functions1,182 in github.com/Stability-AI/stable-audio-tools

Methodforward
(self, x: torch.Tensor)
stable_audio_tools/models/discriminators.py:1578
Methodforward
(self, x)
stable_audio_tools/models/arc.py:53
Methodforward
(self, x)
stable_audio_tools/models/arc.py:92
Methodforward
(self, x)
stable_audio_tools/models/arc.py:130
Methodforward
(self, x)
stable_audio_tools/models/arc.py:169
Methodforward
(self, x)
stable_audio_tools/models/arc.py:261
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
Decompose the signal into multiple frequency bands.
stable_audio_tools/models/pqmf.py:36
Methodforward
(self, x)
stable_audio_tools/models/blocks.py:59
Methodforward
(self, input)
stable_audio_tools/models/blocks.py:70
Methodforward
(self, input)
stable_audio_tools/models/blocks.py:109
Methodforward
(self, input)
stable_audio_tools/models/blocks.py:132
Methodforward
(self, input)
stable_audio_tools/models/blocks.py:141
Methodforward
t: [B] tensor.
stable_audio_tools/models/blocks.py:153
Methodforward
(self, x)
stable_audio_tools/models/blocks.py:205
Methodforward
(self, x)
stable_audio_tools/models/blocks.py:227
Methodforward
(self, x, cond)
stable_audio_tools/models/blocks.py:305
Methodforward
(self, x)
stable_audio_tools/models/blocks.py:319
Methodforward
(self, x)
stable_audio_tools/models/blocks.py:355
Methodforward
(self, x)
stable_audio_tools/models/blocks.py:372
Methodforward
(self, x)
stable_audio_tools/models/blocks.py:405
Methodforward
(self, x: Tensor)
stable_audio_tools/models/transforms.py:70
Methodforward
(self, x: Tensor)
stable_audio_tools/models/transforms.py:131
Methodforward
(self, x: Tensor)
stable_audio_tools/models/transforms.py:188
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)
stable_audio_tools/models/transforms.py:527
Methodforward
(self, x)
stable_audio_tools/models/transforms.py:538
Methodforward
(self, x)
stable_audio_tools/models/wavelets.py:36
Methodforward
(self, x)
stable_audio_tools/models/wavelets.py:67
Methodforward
(self, x)
stable_audio_tools/models/convnext.py:40
Methodforward
(self, x)
stable_audio_tools/models/convnext.py:60
Methodforward
(self, x)
stable_audio_tools/models/convnext.py:79
Methodforward
(self, x, return_features=False)
stable_audio_tools/models/convnext.py:117
Methodforward
(self, x)
stable_audio_tools/models/convnext.py:149
Methodforward
(self, x)
stable_audio_tools/models/encodec.py:27
Methodforward
(self, x: torch.Tensor)
stable_audio_tools/models/encodec.py:94
Methodforward
(self, x: torch.Tensor)
stable_audio_tools/models/encodec.py:131
Methodforward
(self, x, t, **kwargs)
stable_audio_tools/models/diffusion.py:41
Methodforward
(self, x, t, **kwargs)
stable_audio_tools/models/diffusion.py:67
Methodforward
(self, x: torch.Tensor, t: torch.Tensor, cross_attn_cond: torc
stable_audio_tools/models/diffusion.py:84
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, t, cross_attn_cond=None, cross_attn_
stable_audio_tools/models/diffusion.py:291
Methodforward
(self, x, t, input_concat_cond=None, local_add
stable_audio_tools/models/diffusion.py:354
Methodforward
(self, x, t, **kwargs)
stable_audio_tools/models/diffusion.py:411
Methodforward
(self, x, t, input_concat_cond=None, local_add
stable_audio_tools/models/diffusion.py:428
Methodforward
(self, x, t, cond=None, cond_aug_scale=None)
stable_audio_tools/models/diffusion.py:532
Methodforward
(self, x, t, cross_attn_cond=None, cross_attn_
stable_audio_tools/models/diffusion.py:576
Methodforward
(self, x, t, **kwargs)
stable_audio_tools/models/diffusion.py:634
Methodforward
(self, x)
stable_audio_tools/models/autoencoders.py:77
Methodforward
(self, x)
stable_audio_tools/models/autoencoders.py:92
Methodforward
(self, x, **kwargs)
stable_audio_tools/models/autoencoders.py:105
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, override_stride = None, return_features = False, **kwargs)
stable_audio_tools/models/autoencoders.py:352
Methodforward
(self, x, override_stride = None, **kwargs)
stable_audio_tools/models/autoencoders.py:415
Methodforward
(self, x)
stable_audio_tools/models/autoencoders.py:485
Methodforward
(self, x)
stable_audio_tools/models/autoencoders.py:549
Methodforward
(self, x)
stable_audio_tools/models/autoencoders.py:602
Methodforward
(self, x)
stable_audio_tools/models/autoencoders.py:623
Methodforward
(self, x)
stable_audio_tools/models/autoencoders.py:656
Methodforward
(self, x)
stable_audio_tools/models/autoencoders.py:690
Methodforward
(self, x)
stable_audio_tools/models/autoencoders.py:735
Methodforward
(self, x)
stable_audio_tools/models/autoencoders.py:757
Methodforward
(self, x)
stable_audio_tools/models/autoencoders.py:772
Methodforward
(self, z, skip_tanh: bool = False)
stable_audio_tools/models/fsq.py:110
Methodforward
( self, x, cross_attn_cond=None, prepend_cond=None, prepend_cond_m
stable_audio_tools/models/lm_backbone.py:16
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, pos = None, seq_start_pos = None)
stable_audio_tools/models/transformer.py:201
Methodforward
(self, x, pos = None, seq_start_pos = None)
stable_audio_tools/models/transformer.py:226
Methodforward
(self, x)
stable_audio_tools/models/transformer.py:331
Methodforward
(self, x)
stable_audio_tools/models/transformer.py:352
Methodforward
(self, x)
stable_audio_tools/models/transformer.py:383
Methodforward
(self, x)
stable_audio_tools/models/transformer.py:403
Methodforward
(self, x)
stable_audio_tools/models/transformer.py:414
Methodforward
(self, x)
stable_audio_tools/models/transformer.py:433
Methodforward
(self, x)
stable_audio_tools/models/transformer.py:448
Methodforward
(self, x, varlen_metadata=None)
stable_audio_tools/models/transformer.py:500
Methodforward
( self, x, context = None, rotary_pos_emb = None, rotary_pos_emb_k = N
stable_audio_tools/models/transformer.py:702
Methodforward
(self, x)
stable_audio_tools/models/transformer.py:838
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, x: tp.Any)
stable_audio_tools/models/conditioners.py:80
Methodforward
(self, ints: tp.List[int], device=None)
stable_audio_tools/models/conditioners.py:95
Methodforward
(self, floats: tp.List[float], device=None)
stable_audio_tools/models/conditioners.py:123
Methodforward
(self, texts: tp.List[str], device=None)
stable_audio_tools/models/conditioners.py:152
Methodforward
(self, texts: tp.List[str], device: tp.Any = "cuda")
stable_audio_tools/models/conditioners.py:184
Methodforward
(self, latents: tp.Union[torch.Tensor, tp.List[torch.Tensor], tp.Tuple[torch.Tensor]], device: tp.Any = "cuda"
stable_audio_tools/models/conditioners.py:233
Methodforward
(self, texts: tp.List[str], device: tp.Any = "cuda")
stable_audio_tools/models/conditioners.py:326
Methodforward
(self, audios: tp.Union[torch.Tensor, tp.List[torch.Tensor], tp.Tuple[torch.Tensor]] , device: tp.Any = "cuda"
stable_audio_tools/models/conditioners.py:405
Methodforward
(self, texts: tp.List[str], device: tp.Union[torch.device, str])
stable_audio_tools/models/conditioners.py:504
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, texts: tp.List[str], device: tp.Union[torch.device, str])
stable_audio_tools/models/conditioners.py:728
Methodforward
(self, texts: tp.List[str], device: tp.Union[torch.device, str])
stable_audio_tools/models/conditioners.py:794
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, audio: tp.Union[torch.Tensor, tp.List[torch.Tensor], tp.Tuple[torch.Tensor]], device: tp.Union[torch.de
stable_audio_tools/models/conditioners.py:951
Methodforward
(self, sources: tp.List[tp.Dict[str, torch.Tensor]], device: tp.Union[torch.device, str])
stable_audio_tools/models/conditioners.py:1016
Methodforward
(self, batch_metadata: tp.List[tp.Dict[str, tp.Any]], device: tp.Union[torch.device, str])
stable_audio_tools/models/conditioners.py:1081
Methodforward
(self, audio)
stable_audio_tools/models/clap.py:27
Methodforward
(self, text)
stable_audio_tools/models/clap.py:36
Methodforward
(self, latents, mask=None, noise_levels=None, return_hidden_states=False, **kwargs)
stable_audio_tools/models/clap.py:70
Methodforward
(self, text)
stable_audio_tools/models/clap.py:154
← previousnext →901–1,000 of 1,182, ranked by callers