
    jj                     .    d dl mZ  G d de          ZdS )    )Modulec                   (     e Zd ZdZ fdZd Z xZS )
Sequentiala;  A layer that calls the passed callables in order.

    We can pass either modules or plain callables to the Sequential module. If
    our functions have learnable parameters they should be implemented as
    ``nn.Module`` instances.

    Args:
        modules (tuple of Callables): The modules to call in order
    c                 p    t                                                       t          |          | _        d S N)super__init__listlayers)selfmodules	__class__s     b/lsinfo/ai/hellotax_ai/base_platform/venv/lib/python3.11/site-packages/mlx/nn/layers/containers.pyr	   zSequential.__init__   s*    7mm    c                 0    | j         D ]} ||          }|S r   )r   )r   xms      r   __call__zSequential.__call__   s'     	 	A!AAr   )__name__
__module____qualname____doc__r	   r   __classcell__)r   s   @r   r   r      sQ         $ $ $ $ $      r   r   N)mlx.nn.layers.baser   r    r   r   <module>r      sM    & % % % % %         r   