快捷方式

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)

返回类型:

torch.Tensor

文档

访问 PyTorch 的全面开发者文档

查看文档

教程

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

查看教程

资源

查找开发资源并获得问题解答

查看资源