Add torchaudio.functional.resample API mapping and alignment tests#885
Open
PlumBlossomMaid wants to merge 1 commit into
Open
Add torchaudio.functional.resample API mapping and alignment tests#885PlumBlossomMaid wants to merge 1 commit into
PlumBlossomMaid wants to merge 1 commit into
Conversation
|
Thanks for your contribution! |
- Add torchaudio.functional.resample -> paddle.audio.functional.resample mapping in paconvert/api_mapping.json using ChangeAPIMatcher - Create tests/torchaudio_tests/ directory for torchaudio API tests - Add test_functional_resample.py with 6 test cases covering: basic positional args, all kwargs, reordered kwargs, custom lowpass/rolloff, kaiser method with beta, and batch input
Author
|
@luotao1 帮我安排一下review谢谢~ |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PR Docs
此次变更涉及对应文档说明:
添加
torchaudio.functional.resample→paddle.audio.functional.resample的 API 映射规则,并补充对应的测试用例。本次改动基于 PaConvert 转换器框架,使用ChangeAPIMatcher完成。PR APIs
新建测试目录:tests/torchaudio_tests/
新增测试文件:tests/torchaudio_tests/test_functional_resample.py
测试覆盖场景(共 6 个 case):