Source code for espnet2.spk.pooling.abs_pooling

from abc import ABC, abstractmethod

import torch


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