← back to Exo

.typings/mflux/models/flux/model/flux_text_encoder/t5_encoder/t5_self_attention.pyi

17 lines

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

import mlx.core as mx
from mlx import nn

class T5SelfAttention(nn.Module):
    def __init__(self) -> None: ...
    def __call__(self, hidden_states: mx.array) -> mx.array: ...
    @staticmethod
    def shape(states):  # -> array:
        ...
    @staticmethod
    def un_shape(states):  # -> array:
        ...