快捷方式

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)

返回类型:

torch.Tensor

文档

访问 PyTorch 全面的开发者文档

查看文档

教程

获取面向初学者和高级开发者的深度教程

查看教程

资源

查找开发资源并解答疑问

查看资源