Paddle
Paddle copied to clipboard
[API Compatibility No.228] Support 'input' argument alias for paddle.trace -part
PR Category
User Experience
PR Types
New features
Description
- API: Applied
@ParamAliasDecorator({"x": ["input"]})topaddle.traceinpython/paddle/tensor/math.pyto mapinputtox. - Test: Added
TestTraceAliasintest/legacy_test/test_trace_op.pyto verify the correctness of the new argument alias. - Doc: Updated the docstring of
paddle.traceto explicitly document theinputalias support.
Codecov Report
:white_check_mark: All modified and coverable lines are covered by tests.
:warning: Please upload report for BASE (develop@3430fe8). Learn more about missing BASE report.
Additional details and impacted files
@@ Coverage Diff @@
## develop #76785 +/- ##
===========================================
Coverage ? 100.00%
===========================================
Files ? 1
Lines ? 1
Branches ? 0
===========================================
Hits ? 1
Misses ? 0
Partials ? 0
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
:rocket: New features to boost your workflow:
- :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
你的PR提交成功,感谢你对开源项目的贡献! 请关注后续CI自动化测试结果,详情请参考Paddle-CI手册。 Your PR has been submitted. Thanks for your contribution! Please wait for the result of CI firstly. See Paddle CI Manual for details.