MCPcopy Index your code

hub / github.com/ml-explore/mlx-examples / types & classes

Types & classes308 in github.com/ml-explore/mlx-examples

↓ 11 callersClassCausalConv3d
video/wan2.1/wan/vae_layers.py:38
↓ 8 callersClassResnetBlock2D
stable_diffusion/stable_diffusion/unet.py:127
↓ 7 callersClassEncodecConv1d
Conv1d with asymmetric or causal padding and normalization.
encodec/encodec.py:97
↓ 7 callersClassEncodecConv1d
Conv1d with asymmetric or causal padding and normalization.
musicgen/encodec.py:97
↓ 6 callersClassLinear
whisper/mlx_whisper/torch_whisper.py:33
↓ 6 callersClassResNet
Creates a ResNet model for CIFAR-10, as specified in the original paper.
cifar/resnet.py:68
↓ 6 callersClassResidualBlock
video/wan2.1/wan/vae_layers.py:170
↓ 6 callersClassResnetBlock
flux/flux/autoencoder.py:55
↓ 5 callersClassLayerNorm
whisper/mlx_whisper/torch_whisper.py:28
↓ 5 callersClassLayerNorm2d
segment_anything/segment_anything/common.py:23
↓ 4 callersClassAttention
An attention layer that allows for downscaling the size of the embedding after projection to queries, keys, and values.
segment_anything/segment_anything/transformer.py:178
↓ 4 callersClassAttentionBlock
video/wan2.1/wan/vae_layers.py:205
↓ 3 callersClassFluxPipeline
flux/flux/flux.py:22
↓ 3 callersClassKWT
Implements the Keyword Transformer (KWT) [1] model. KWT is essentially a vision transformer [2] with minor modifications: - Instead of s
speechcommands/kwt.py:67
↓ 3 callersClassMLPEmbedder
flux/flux/layers.py:78
↓ 3 callersClassMaskData
A structure for storing masks and their related data in batched format. Implements basic filtering and concatenation.
segment_anything/segment_anything/utils/amg.py:10
↓ 3 callersClassModelSpec
video/wan2.1/wan/utils.py:26
↓ 3 callersClassModulation
flux/flux/layers.py:129
↓ 3 callersClassMultiHeadAttention
llms/speculative_decoding/model.py:91
↓ 3 callersClassMultiHeadAttention
musicgen/t5.py:126
↓ 3 callersClassMultiHeadAttention
t5/t5.py:126
↓ 3 callersClassUpsamplingConv2d
A convolutional layer that upsamples the input by a factor of 2. MLX does not yet support transposed convolutions, so we approximate them wit
cvae/vae.py:17
↓ 2 callersClassAttention
A single head unmasked attention for use with the VAE.
stable_diffusion/stable_diffusion/vae.py:13
↓ 2 callersClassAttnBlock
flux/flux/autoencoder.py:24
↓ 2 callersClassAutoEncoderParams
flux/flux/autoencoder.py:12
↓ 2 callersClassConv1d
whisper/mlx_whisper/torch_whisper.py:42
↓ 2 callersClassConvTranspose2d
segment_anything/segment_anything/mask_decoder.py:202
↓ 2 callersClassDecodingOptions
whisper/mlx_whisper/decoding.py:83
↓ 2 callersClassDecodingResult
whisper/mlx_whisper/decoding.py:120
↓ 2 callersClassDenseActivation
llms/speculative_decoding/model.py:135
↓ 2 callersClassDenseActivation
musicgen/t5.py:170
↓ 2 callersClassDenseActivation
t5/t5.py:170
↓ 2 callersClassEncodecLSTM
encodec/encodec.py:218
↓ 2 callersClassEncodecLSTM
musicgen/encodec.py:218
↓ 2 callersClassEncodecResnetBlock
Residual block from SEANet model as used by EnCodec.
encodec/encodec.py:230
↓ 2 callersClassEncodecResnetBlock
Residual block from SEANet model as used by EnCodec.
musicgen/encodec.py:230
↓ 2 callersClassEncoder
clip/model.py:190
↓ 2 callersClassEncoderDecoderBlock2D
stable_diffusion/stable_diffusion/vae.py:45
↓ 2 callersClassFluxParams
flux/flux/model.py:21
↓ 2 callersClassLlama
llms/llama/llama.py:126
↓ 2 callersClassMLP
segment_anything/segment_anything/mask_decoder.py:175
↓ 2 callersClassMLPBlock
segment_anything/segment_anything/common.py:7
↓ 2 callersClassMaskedCoupling
normalizing_flow/bijectors.py:34
↓ 2 callersClassMistral
llms/mistral/mistral.py:115
↓ 2 callersClassMixtral
llms/mixtral/mixtral.py:144
↓ 2 callersClassModelArgs
llms/mixtral/mixtral.py:17
↓ 2 callersClassModelArgs
llms/llama/llama.py:18
↓ 2 callersClassModelArgs
llms/mistral/mistral.py:17
↓ 2 callersClassModelDimensions
whisper/mlx_whisper/whisper.py:18
↓ 2 callersClassModelSpec
flux/flux/utils.py:20
↓ 2 callersClassModulationOut
flux/flux/layers.py:123
↓ 2 callersClassMultiHeadAttention
whisper/mlx_whisper/torch_whisper.py:60
↓ 2 callersClassMultiHeadAttention
whisper/mlx_whisper/whisper.py:40
↓ 2 callersClassMultiHeadAttention
musicgen/musicgen.py:71
↓ 2 callersClassQKNorm
flux/flux/layers.py:88
↓ 2 callersClassRelativePositionBias
llms/speculative_decoding/model.py:60
↓ 2 callersClassRelativePositionBias
musicgen/t5.py:95
↓ 2 callersClassRelativePositionBias
t5/t5.py:95
↓ 2 callersClassResample
video/wan2.1/wan/vae_layers.py:98
↓ 2 callersClassResidualAttentionBlock
whisper/mlx_whisper/torch_whisper.py:109
↓ 2 callersClassResidualAttentionBlock
whisper/mlx_whisper/whisper.py:90
↓ 2 callersClassSelfAttention
flux/flux/layers.py:98
↓ 2 callersClassStableDiffusion
stable_diffusion/stable_diffusion/__init__.py:19
↓ 2 callersClassStableDiffusionXL
stable_diffusion/stable_diffusion/__init__.py:172
↓ 2 callersClassT5RelativeEmbedding
video/wan2.1/wan/t5.py:19
↓ 2 callersClassTimestepEmbedding
stable_diffusion/stable_diffusion/unet.py:20
↓ 2 callersClassTransformer2D
A transformer model for inputs with 2 spatial dimensions.
stable_diffusion/stable_diffusion/unet.py:84
↓ 2 callersClassUNetBlock2D
stable_diffusion/stable_diffusion/unet.py:173
↓ 2 callersClassWanPipeline
video/wan2.1/wan/pipeline.py:57
↓ 2 callersClassWhisper
whisper/mlx_whisper/whisper.py:201
↓ 2 callersClassWikiSQL
lora/data/wikisql.py:21
↓ 1 callersClassApplyTimestampRules
whisper/mlx_whisper/decoding.py:325
↓ 1 callersClassAttention
Multi-head Attention block with relative position embeddings.
segment_anything/segment_anything/image_encoder.py:186
↓ 1 callersClassAttention
lora/models.py:131
↓ 1 callersClassAttention
clip/model.py:83
↓ 1 callersClassAttention
speechcommands/kwt.py:19
↓ 1 callersClassAttention
llava/language.py:48
↓ 1 callersClassAttention
llava/vision.py:37
↓ 1 callersClassAttention
llms/mixtral/mixtral.py:29
↓ 1 callersClassAttention
llms/gguf_llm/models.py:51
↓ 1 callersClassAttention
llms/llama/llama.py:31
↓ 1 callersClassAttention
llms/mistral/mistral.py:29
↓ 1 callersClassAudioEncoder
whisper/mlx_whisper/torch_whisper.py:141
↓ 1 callersClassAudioEncoder
whisper/mlx_whisper/whisper.py:121
↓ 1 callersClassAutoEncoder
flux/flux/autoencoder.py:311
↓ 1 callersClassAutoencoder
The autoencoder that allows us to perform diffusion in the latent space.
stable_diffusion/stable_diffusion/vae.py:226
↓ 1 callersClassAutoencoderConfig
stable_diffusion/stable_diffusion/config.py:8
↓ 1 callersClassBert
bert/model.py:91
↓ 1 callersClassBertEmbeddings
bert/model.py:61
↓ 1 callersClassBlock
Transformer blocks with support of window attention and residual propagation blocks
segment_anything/segment_anything/image_encoder.py:118
↓ 1 callersClassBlock
speechcommands/kwt.py:39
↓ 1 callersClassCLIPAttentionBlock
Pre-norm transformer block with self-attention and MLP.
video/wan2.1/wan/clip.py:22
↓ 1 callersClassCLIPConfig
clip/model.py:63
↓ 1 callersClassCLIPEncoderLayer
The transformer encoder layer from CLIP.
flux/flux/clip.py:46
↓ 1 callersClassCLIPEncoderLayer
The transformer encoder layer from CLIP.
stable_diffusion/stable_diffusion/clip.py:27
↓ 1 callersClassCLIPImageProcessor
A simple port of https://github.com/huggingface/transformers/blob/main/src/transformers/models/clip/image_processing_clip.py.
clip/image_processor.py:12
↓ 1 callersClassCLIPModel
clip/model.py:295
↓ 1 callersClassCLIPModelOutput
clip/model.py:31
↓ 1 callersClassCLIPOutput
flux/flux/clip.py:34
↓ 1 callersClassCLIPOutput
stable_diffusion/stable_diffusion/clip.py:15
next →1–100 of 308, ranked by callers