Tutorial:
ESPnet1:
ESPnet2:
Notebook:
Package Reference:
Tool Reference:
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