You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi! We've received your issue and please be patient to get responded. We will arrange technicians to answer your questions as soon as possible. Please make sure that you have posted enough message to demo your request. You may also check out the API,FAQ,Github Issue and AI community to get the answer.Have a nice day!
(此 ISSUE 为 PaddlePaddle Hackathon 第二期活动的任务 ISSUE,更多详见 【PaddlePaddle Hackathon 第二期】任务总览)
【任务说明】
任务标题:为 Paddle 新增 nanmedian API
技术标签:深度学习框架,Python,C++
任务难度:中等
详细描述:paddle.nanmedian 扩展了 paddle.median API 的功能,如果输入Tensor中有nan值, paddle.median 会将nan值考虑在内然后取中位数(有可能为nan值),而 paddle.nanmedian 只考虑非nan值的中位数。比如输入数据 x = [[nan, 2. , 3. ], [0. , 1. , 2. ]],x.median() 得到 [nan],x.median(0) 得到 [nan, 1.5, 2.5],x.nanmedian() 得到 [2.],x.nanmedian(0) 得到 [0, 1.5, 2.5]。此API需要支持的调用路径为:paddle.nanmedian 和 Tensor.nanmedian 。
【提交流程】
请按 新增API 开发&提交流程中的描述,完成任务提交过程中的相关步骤。
【提交内容】
【合入标准】
【技术要求】
【参考内容】
【答疑交流】
The text was updated successfully, but these errors were encountered: