o
    pi                     @   sD   d dl mZ d dlmZ ddlmZ ddlmZ G dd deZdS )	    )Optional)Tensor   )BaseWaveformTransform
ObjectDictc                   @   s\   e Zd ZdZh dZdZdZdZdZ				dde	de
e de
e	 d	e
e d
ef
ddZdS )Identityz
    This transform returns the input unchanged. It can be used for simplifying the code
    in cases where data augmentation should be disabled.
    >   	per_batchper_channelper_exampleTFNsamplessample_ratetargetstarget_ratereturnc                 C   s   t ||||dS )N)r   r   r   r   r   )selfr   r   r   r    r   `/home/ubuntu/.local/lib/python3.10/site-packages/torch_audiomentations/augmentations/identity.pyapply_transform   s   zIdentity.apply_transform)NNNN)__name__
__module____qualname____doc__supported_modessupports_multichannelrequires_sample_ratesupports_targetrequires_targetr   r   intr   r   r   r   r   r   r      s,    r   N)	typingr   torchr   core.transforms_interfacer   utils.object_dictr   r   r   r   r   r   <module>   s
    