Files
freedakgmail 6116b1f3c6
Update API Documentation / build-api-docs (push) Has been cancelled
Initial commit: FunASR Speech Recognition Toolkit
Add complete FunASR codebase including models, runtime, and documentation.
2026-07-09 22:38:58 +08:00

13 lines
280 B
Python

from abc import ABC, abstractmethod
import torch
class AbsFrontend(ABC, torch.nn.Module):
@abstractmethod
def output_size(self) -> int:
raise NotImplementedError
@abstractmethod
def forward(self, input, input_lengths):
raise NotImplementedError