快捷方式

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 全面的開發者文件

檢視文件

教程

獲取面向初學者和高階開發者的深度教程

檢視教程

資源

查詢開發資源並解答疑問

檢視資源