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)。
- 返回类型: