MCPcopy Create free account

hub / github.com/ml-explore/mlx-examples / functions

Functions1,187 in github.com/ml-explore/mlx-examples

Method__init__
( self, in_channels: int, out_channels: int, temb_channels: int, prev_
stable_diffusion/stable_diffusion/unet.py:174
Method__init__
(self, model_dims: int, num_heads: int, activation: str)
stable_diffusion/stable_diffusion/clip.py:30
Method__init__
(self, bpe_ranks, vocab)
stable_diffusion/stable_diffusion/tokenizer.py:9
Method__init__
(self, model: str = _DEFAULT_MODEL, float16: bool = False)
stable_diffusion/stable_diffusion/__init__.py:173
Method__init__
(self, dims: int, norm_groups: int = 32)
stable_diffusion/stable_diffusion/vae.py:16
Method__init__
( self, in_channels: int, out_channels: int, num_layers: int = 1, resn
stable_diffusion/stable_diffusion/vae.py:46
Method__init__
( self, in_channels: int, out_channels: int, block_out_channels: List[int] = [
stable_diffusion/stable_diffusion/vae.py:162
Method__init__
(self, config: AutoencoderConfig)
stable_diffusion/stable_diffusion/vae.py:229
Method__init__
(self, config: DiffusionConfig)
stable_diffusion/stable_diffusion/sampler.py:32
Method__init__
(self, config, model_name)
musicgen/t5.py:15
Method__init__
(self, config, bidirectional: bool)
musicgen/t5.py:96
Method__init__
(self, config)
musicgen/t5.py:127
Method__init__
(self, config)
musicgen/t5.py:171
Method__init__
(self, config)
musicgen/t5.py:206
Method__init__
(self, config)
musicgen/t5.py:224
Method__init__
(self, config)
musicgen/t5.py:240
Method__init__
(self, config)
musicgen/t5.py:273
Method__init__
(self, config)
musicgen/t5.py:302
Method__init__
( self, config, in_channels: int, out_channels: int, kernel_size: int,
musicgen/encodec.py:100
Method__init__
( self, config, in_channels: int, out_channels: int, kernel_size: int,
musicgen/encodec.py:183
Method__init__
(self, config, dimension)
musicgen/encodec.py:219
Method__init__
(self, config, dim: int, dilations: List[int])
musicgen/encodec.py:235
Method__init__
(self, config)
musicgen/encodec.py:268
Method__init__
(self, config)
musicgen/encodec.py:319
Method__init__
(self, config)
musicgen/encodec.py:373
Method__init__
(self, config)
musicgen/encodec.py:404
Method__init__
(self, config)
musicgen/encodec.py:418
Method__init__
(self, config)
musicgen/encodec.py:474
Method__init__
(self, t5_name, input_dim, output_dim)
musicgen/musicgen.py:18
Method__init__
(self, dim, n_heads)
musicgen/musicgen.py:72
Method__init__
(self, config)
musicgen/musicgen.py:119
Method__init__
(self, config)
musicgen/musicgen.py:195
Method__init__
(self, in_channels, out_channels, kernel_size, stride, padding)
cvae/vae.py:25
Method__init__
(self, num_latent_dims, image_shape, max_num_filters)
cvae/vae.py:43
Method__init__
(self, num_latent_dims, image_shape, max_num_filters)
cvae/vae.py:97
Method__init__
(self, tokenizer_path: str)
video/wan2.1/wan/tokenizers.py:18
Method__init__
(self, dim: int = 1280, num_heads: int = 16, mlp_ratio: int = 4)
video/wan2.1/wan/clip.py:25
Method__init__
(self, dim: int, num_heads: int)
video/wan2.1/wan/clip.py:39
Method__init__
( self, image_size: int = 224, patch_size: int = 14, dim: int = 1280,
video/wan2.1/wan/clip.py:72
Method__init__
( self, dim: int, num_heads: int, eps: float = 1e-6, )
video/wan2.1/wan/layers.py:27
Method__init__
( self, dim: int, num_heads: int, eps: float = 1e-6, )
video/wan2.1/wan/layers.py:75
Method__init__
(self, dim: int, num_heads: int, eps: float = 1e-6)
video/wan2.1/wan/layers.py:127
Method__init__
( self, dim: int, ffn_dim: int, num_heads: int, cross_attn_norm: bool
video/wan2.1/wan/layers.py:170
Method__init__
(self, num_buckets, num_heads, bidirectional=True, max_dist=128)
video/wan2.1/wan/t5.py:20
Method__init__
(self, dim, dim_attn, num_heads)
video/wan2.1/wan/t5.py:58
Method__init__
(self, dim, dim_ffn)
video/wan2.1/wan/t5.py:95
Method__init__
(self, dim, dim_attn, dim_ffn, num_heads, num_buckets, shared_pos=True)
video/wan2.1/wan/t5.py:106
Method__init__
( self, dim: int = 96, z_dim: int = 16, dim_mult: Optional[List[int]] = None,
video/wan2.1/wan/vae.py:33
Method__init__
( self, dim: int = 96, z_dim: int = 16, dim_mult: Optional[List[int]] = None,
video/wan2.1/wan/vae.py:156
Method__init__
( self, name: str = "t2v-1.3B", dtype: mx.Dtype = mx.bfloat16, checkpoint: Opt
video/wan2.1/wan/pipeline.py:58
Method__init__
( self, num_train_timesteps: int = 1000, solver_order: int = 2, prediction_typ
video/wan2.1/wan/sampler.py:26
Method__init__
(self, num_train_timesteps=1000)
video/wan2.1/wan/sampler.py:374
Method__init__
( self, in_channels, out_channels, kernel_size, stride=1, padding=0, bias=True )
video/wan2.1/wan/vae_layers.py:39
Method__init__
(self, in_dim, out_dim)
video/wan2.1/wan/vae_layers.py:171
Method__init__
(self, dim)
video/wan2.1/wan/vae_layers.py:206
Method__init__
( self, model_type: str = "t2v", patch_size: Tuple[int, int, int] = (1, 2, 2),
video/wan2.1/wan/model.py:38
Method__init__
(self, config, model_name)
t5/t5.py:15
Method__init__
(self, config, bidirectional: bool)
t5/t5.py:96
Method__init__
(self, config)
t5/t5.py:127
Method__init__
(self, config)
t5/t5.py:171
Method__init__
(self, config)
t5/t5.py:206
Method__init__
(self, config)
t5/t5.py:224
Method__init__
(self, config)
t5/t5.py:240
Method__init__
(self, config)
t5/t5.py:273
Method__init__
(self, config)
t5/t5.py:302
Method__init__
(self, in_features, out_features, bias=True)
gcn/gcn.py:5
Method__len__
(self)
flux/flux/datasets.py:11
Method__len__
(self)
flux/flux/datasets.py:23
Method__len__
(self)
flux/flux/datasets.py:48
Method__len__
(self)
lora/lora.py:147
Method__len__
(self)
lora/data/wikisql.py:95
Method__post_init__
(self)
lora/models.py:26
Method__post_init__
(self)
llava/language.py:35
Method__post_init__
(self)
llms/gguf_llm/models.py:28
Method__post_init__
(self)
whisper/mlx_whisper/tokenizer.py:144
Method__setitem__
(self, key: str, item: Any)
segment_anything/segment_anything/utils/amg.py:23
Method_conv_forward
( self, x: Tensor, weight: Tensor, bias: Optional[Tensor] )
whisper/mlx_whisper/torch_whisper.py:43
Method_extra_repr
(self)
segment_anything/segment_anything/mask_decoder.py:232
Method_step
(inputs, audio_features, tokens, sum_logprobs)
whisper/mlx_whisper/decoding.py:576
Methodall_language_codes
(self)
whisper/mlx_whisper/tokenizer.py:236
Methodall_language_tokens
(self)
whisper/mlx_whisper/tokenizer.py:228
Methodapply
(self, logits: mx.array, tokens: mx.array)
whisper/mlx_whisper/decoding.py:309
Methodapply
(self, logits: mx.array, tokens: mx.array)
whisper/mlx_whisper/decoding.py:321
Methodapply
(self, logits: mx.array, tokens: mx.array)
whisper/mlx_whisper/decoding.py:336
Functionavailable_models
Returns the names of available models
whisper/convert.py:107
Methodbenchmark
(self)
llms/mistral/test.py:77
Methodbos
(self)
flux/flux/tokenizers.py:23
Methodbos
(self)
flux/flux/tokenizers.py:139
Methodbos
(self)
clip/tokenizer.py:24
Methodbos
(self)
stable_diffusion/stable_diffusion/tokenizer.py:20
Methodbos_token
(self)
flux/flux/tokenizers.py:27
Methodbos_token
(self)
flux/flux/tokenizers.py:146
Methodbos_token
(self)
clip/tokenizer.py:28
Methodbos_token
(self)
stable_diffusion/stable_diffusion/tokenizer.py:24
Methodchannels
(self)
encodec/encodec.py:616
Methodchannels
(self)
musicgen/encodec.py:616
Methodcheck_segment
(seg, expected)
whisper/test.py:301
Methodcheck_words
(words, expected_words)
whisper/test.py:431
Methodchunk_length
(self)
encodec/encodec.py:624
Methodchunk_length
(self)
musicgen/encodec.py:624
← previousnext →901–1,000 of 1,187, ranked by callers