Skip to content

Conversation

@cangtianhuang
Copy link
Contributor

@cangtianhuang cangtianhuang commented Jul 7, 2025

PR Category

User Experience

PR Types

Improvements

Description

Support complex64, complex128 for TensorFormatter funcs. It can be used for debugging.

Usage:

#include "paddle/phi/kernels/funcs/tensor_formatter.h" funcs::TensorFormatter formatter; formatter.Print(tensor);

Pcard-85711

@paddle-bot
Copy link

paddle-bot bot commented Jul 7, 2025

你的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.

@codecov-commenter
Copy link

codecov-commenter commented Jul 7, 2025

Codecov Report

Attention: Patch coverage is 55.55556% with 4 lines in your changes missing coverage. Please review.

Please upload report for BASE (develop@6b981c3). Learn more about missing BASE report.

Files with missing lines Patch % Lines
paddle/phi/kernels/funcs/tensor_formatter.cc 55.55% 4 Missing ⚠️

❌ Your patch status has failed because the patch coverage (55.55%) is below the target coverage (90.00%). You can increase the patch coverage or adjust the target coverage.

Additional details and impacted files
@@ Coverage Diff @@ ## develop #73886 +/- ## ========================================== Coverage ? 55.55% ========================================== Files ? 1 Lines ? 9 Branches ? 0 ========================================== Hits ? 5 Misses ? 4 Partials ? 0 

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
@wanghuancoder wanghuancoder merged commit b0f56db into PaddlePaddle:develop Jul 17, 2025
134 of 142 checks passed
@cangtianhuang cangtianhuang deleted the fix-formatter branch July 26, 2025 14:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

5 participants