Thanks for sending an issue! Please fill in the following template to help quickly solve your problem.
kl_div_loss_grad, l1_loss_grad, mse_loss_grad, smooth_l1_loss_grad_v2,存在以下问题需整改 1.不要使用难以理解的字面常量 2.禁止包含用不到的头文件 3.头文件中禁止向全局命名空间中导入符号 4.避免使用reinterpret_cast
arch3510
代码存在一些code_check问题,整改
无code_check问题
using namespace Ops::Base; 等不规范代码
/assign
Thanks for sending an issue! Please fill in the following template to help quickly solve your problem.
Describe the current behavior / 问题描述 (Mandatory / 必填)
kl_div_loss_grad, l1_loss_grad, mse_loss_grad, smooth_l1_loss_grad_v2,存在以下问题需整改
1.不要使用难以理解的字面常量
2.禁止包含用不到的头文件
3.头文件中禁止向全局命名空间中导入符号
4.避免使用reinterpret_cast
Environment / 环境信息 (Mandatory / 必填)
arch3510
Steps to reproduce the issue / 重现步骤 (Mandatory / 必填)
代码存在一些code_check问题,整改
Describe the expected behavior / 预期结果 (Mandatory / 必填)
无code_check问题
Related log / screenshot / 日志 / 截图 (Mandatory / 必填)
using namespace Ops::Base; 等不规范代码
Special notes for this issue/备注 (Optional / 选填)