已合并
修改ActsULQInputGrad and ActULQClampMaxGrad算子原型宏定义,避免编译冲突 #8480
Nerddddddddddd创建于 8月10日
修改ActsULQInputGrad and ActULQClampMaxGrad算子原型宏定义,避免编译冲突 #8480
已合并
Nerddddddddddd创建于 8月10日
共 2 个文件变更+4-4
@@ -20,8 +20,8 @@
20 *20 *
21 * 算子注册名 ActULQClampMaxGrad(ULQ 全大写,兼容 MindSpore GEIR)。21 * 算子注册名 ActULQClampMaxGrad(ULQ 全大写,兼容 MindSpore GEIR)。
22 */22 */
23-#ifndef OPS_OP_PROTO_INC_ACT_ULQ_CLAMP_MAX_GRAD_H_23+#ifndef OPS_PROTO_DEF_ACTULQCLAMPMAXGRAD
24-#define OPS_OP_PROTO_INC_ACT_ULQ_CLAMP_MAX_GRAD_H_24+#define OPS_PROTO_DEF_ACTULQCLAMPMAXGRAD
25 25 
26#include "graph/operator_reg.h"26#include "graph/operator_reg.h"
27#include "graph/types.h"27#include "graph/types.h"
@@ -19,8 +19,8 @@
19 * fp16/fp32;mask bool/fp16/fp32。合法组合 4 组(mask 浮点须与 y_grad 同 dtype19 * fp16/fp32;mask bool/fp16/fp32。合法组合 4 组(mask 浮点须与 y_grad 同 dtype
20 * 或为 bool),由 Tiling/Verify 校验;混合浮点组合已移除。20 * 或为 bool),由 Tiling/Verify 校验;混合浮点组合已移除。
21 */21 */
22-#ifndef OPS_OP_PROTO_INC_ACTS_ULQ_INPUT_GRAD_H_22+#ifndef OPS_PROTO_DEF_ACTSULQINPUTGRAD
23-#define OPS_OP_PROTO_INC_ACTS_ULQ_INPUT_GRAD_H_23+#define OPS_PROTO_DEF_ACTSULQINPUTGRAD
24 24 
25#include "graph/operator_reg.h"25#include "graph/operator_reg.h"
26#include "graph/types.h"26#include "graph/types.h"