o
    ¡¿¯i–  ã                   @   s2   d dl mZmZ d dlZG dd„ dejjeƒZdS )é    )ÚABCÚabstractmethodNc                   @   sd   e Zd Zedefdd„ƒZedejdejdejdejdejf
dd	„ƒZ	ed
e
dedefdd„ƒZdS )ÚAbsPostDecoderÚreturnc                 C   ó   t ‚©N©ÚNotImplementedError)Úself© r   ú[/home/ubuntu/.local/lib/python3.10/site-packages/espnet2/slu/postdecoder/abs_postdecoder.pyÚoutput_size   s   zAbsPostDecoder.output_sizeÚtranscript_input_idsÚtranscript_attention_maskÚtranscript_token_type_idsÚtranscript_position_idsc                 C   r   r   r   )r
   r   r   r   r   r   r   r   Úforward   s   zAbsPostDecoder.forwardÚdataÚmax_seq_lengthr   c                 C   r   r   r   )r
   r   r   r   r   r   r   Úconvert_examples_to_features   s   z+AbsPostDecoder.convert_examples_to_featuresN)Ú__name__Ú
__module__Ú__qualname__r   Úintr   ÚtorchÚ
LongTensorÚTensorr   Úlistr   r   r   r   r   r      s.    þýüûú	ÿÿÿr   )Úabcr   r   r   ÚnnÚModuler   r   r   r   r   Ú<module>   s    