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