VGGishBundle.VGGish¶
- class torchaudio.prototype.pipelines.VGGishBundle.VGGish¶
VGGish 模型的實現 [Hershey 等人, 2017]。
方法¶
forward¶
- VGGish.forward(input: Tensor) Tensor¶
- 引數:
input (torch.Tensor) – 批次聲譜圖,形狀為 (n_example, 1, n_frame, 64)。
- 返回值:
模型輸出,形狀為 (n_example, 128)。
- 返回型別: