-
Notifications
You must be signed in to change notification settings - Fork 657
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This is the preparation for the file-like object support in StreamReader. FileLike object support is bound via PyBind11, which is different from the existing Torch-based binding even though all the internal implementations are same. PyBind11-based bindings are accessed like regular Python object as `torchaudio._torchaudio_ffmpeg`, while Torch-based bindings are accesed like `torch.ops.torchaudio_ffmpeg`. The backend will serve as abstraction layer of these different bindings.
- Loading branch information
Showing
1 changed file
with
156 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters