Shortcuts

VGGishBundle.VGGish

class torchaudio.prototype.pipelines.VGGishBundle.VGGish

DEPRECATED

Warning

This class is deprecated from version 2.8. It will be removed in the 2.9 release. This deprecation is part of a large refactoring effort to transition TorchAudio into a maintenance phase. Please see https://github.com/pytorch/audio/issues/3902 for more information.

Implementation of VGGish model [Hershey et al., 2017].

Methods

forward

VGGish.forward(input: Tensor) Tensor
Parameters

input (torch.Tensor) – batch of spectrograms, with shape (n_example, 1, n_frame, 64).

Returns

model output, with shape (n_example, 128).

Return type

torch.Tensor

Docs

Access comprehensive developer documentation for PyTorch

View Docs

Tutorials

Get in-depth tutorials for beginners and advanced developers

View Tutorials

Resources

Find development resources and get your questions answered

View Resources