Skip to content

Conversation

NKNaN
Copy link
Contributor

@NKNaN NKNaN commented Jun 13, 2025

PR Category

Execute Infrastructure

PR Types

Improvements

Description

根据 PaddleAPITest 的 ReduceRule 中的处理方式对 MeanKernel 做相应修改,即遇到 int 或 bool 类型输入时先 cast 为 float32 计算再cast 回原类型;torch 的 int 或 bool 类型输入不支持反向计算,所以反向暂不做修改。
image

回测结果:
image

@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

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

Additional details and impacted files
@@             Coverage Diff             @@
##             develop    #73320   +/-   ##
===========================================
  Coverage           ?   100.00%           
===========================================
  Files              ?         1           
  Lines              ?         7           
  Branches           ?         0           
===========================================
  Hits               ?         7           
  Misses             ?         0           
  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.

@paddle-bot paddle-bot bot added the contributor External developers label Jun 13, 2025
@luotao1 luotao1 added the HappyOpenSource Pro 进阶版快乐开源活动,更具挑战性的任务 label Jun 16, 2025
@lshpku lshpku merged commit 7f6ca18 into PaddlePaddle:develop Jun 19, 2025
127 of 145 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contributor External developers HappyOpenSource Pro 进阶版快乐开源活动,更具挑战性的任务
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants