VGGishBundle.VGGish¶
- class torchaudio.prototype.pipelines.VGGishBundle.VGGish¶
VGGish 模型的实现 [Hershey et al., 2017]。
方法¶
forward¶
- VGGish.forward(input: Tensor) Tensor ¶
- 参数:
input (torch.Tensor) – 频谱图批次,形状为 (n_example, 1, n_frame, 64)。
- 返回:
模型输出,形状为 (n_example, 128)。
- 返回类型: