Source code for espnet2.uasr.discriminator.abs_discriminator

from abc import ABC, abstractmethod

import torch


[docs]class AbsDiscriminator(torch.nn.Module, ABC):
[docs] @abstractmethod def forward( self, xs_pad: torch.Tensor, padding_mask: torch.Tensor, ) -> torch.Tensor: raise NotImplementedError