Skip to content

Conversation

NicolasHug
Copy link
Contributor

@NicolasHug NicolasHug commented Apr 29, 2025

This PR addresses a few outstanding TODO-ENCODING entries. See diff for (hopefully obvious!) changes.

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Meta Open Source bot. label Apr 29, 2025
@NicolasHug NicolasHug changed the title Enforce that encode() cannot be called twice Encoding: address remaining TODOs Apr 30, 2025
}

// TODO-ENCODING is "format" a good parameter name?? It kinda conflicts with
// "sample_format" which we may eventually want to expose.
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

torchaudio.load() uses format as well, so I think that's fine. We haven't discussed the public API yet anyway.

@NicolasHug NicolasHug changed the title Encoding: address remaining TODOs Encoding: address some TODOs Apr 30, 2025
@NicolasHug NicolasHug merged commit 87b98e8 into meta-pytorch:main May 1, 2025
45 of 47 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Meta Open Source bot.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants