o
    ¡¿¯i÷  ã                   @   s(   d dl Z d dlmZ G dd„ deƒZdS )é    N)Ú
AbsEncoderc                       sH   e Zd ZdZ‡ fdd„Zedefdd„ƒZdej	dej	fd	d
„Z
‡  ZS )ÚNullEncoderzNull encoder.c                    s   t ƒ  ¡  d S )N)ÚsuperÚ__init__©Úself©Ú	__class__© úT/home/ubuntu/.local/lib/python3.10/site-packages/espnet2/enh/encoder/null_encoder.pyr   	   s   zNullEncoder.__init__Úreturnc                 C   s   dS )Né   r
   r   r
   r
   r   Ú
output_dim   s   zNullEncoder.output_dimÚinputÚilensc                 C   s   ||fS )z—Forward.

        Args:
            input (torch.Tensor): mixed speech [Batch, sample]
            ilens (torch.Tensor): input lengths [Batch]
        r
   )r   r   r   r
   r
   r   Úforward   s   zNullEncoder.forward)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   ÚpropertyÚintr   ÚtorchÚTensorr   Ú__classcell__r
   r
   r   r   r      s    r   )r   Úespnet2.enh.encoder.abs_encoderr   r   r
   r
   r
   r   Ú<module>   s    