← back to Exo

.typings/mflux/models/flux/model/siglip_vision_transformer/siglip_sdpa_attention.pyi

17 lines

"""
This type stub file was generated by pyright.
"""

import mlx.core as mx
from mlx import nn

class SiglipSdpaAttention(nn.Module):
    head_dimension = ...
    batch_size = ...
    num_heads = ...
    def __init__(self) -> None: ...
    def __call__(self, hidden_states: mx.array) -> mx.array: ...
    @staticmethod
    def reshape_and_transpose(x, batch_size, num_heads, head_dim):  # -> array:
        ...