已关闭
fix: 修复告警代码 #1
hemahema创建于 11 天前关闭于 4 天前
fix: 修复告警代码 #1
已关闭
hemahema创建于 11 天前关闭于 4 天前
hemahema
hemahema成员
11 天前

Pull Request

描述

ascir_ops.h 里和流水线告警对应的两处已经改完。

不加 const 的 Set*
这三个 setter 不会改入参,只写 attr_store_。按同类 Get/Set 习惯,入参改成 const:
SetRound_mode(const std::string &)
SetEnable_relu0(const bool)
SetNullptr_inputs_index(const std::vector<int64_t> &)
函数本身不能再加尾部 const:内部要调非 const 的 GetOrCreateAnyValue,加上会编不过。

移动构造和移动赋值要成对声明(原 7479 / 7561 / 7659 / 7757)
ExtendConv2D、ExtendConv2DBias、ExtendConv2DScale、ExtendConv2DBiasScale 原先只 = delete 了移动构造。已补上对应的移动赋值:
inline ExtendConv2D &operator=(const ExtendConv2D &) = delete;
inline ExtendConv2D &operator=(ExtendConv2D &&) = delete;
inline ExtendConv2D(ExtendConv2D &&) = delete;

变更类型

请选择本次引入的变更类型:

关联的Issue

如何测试

描述测试此变更的步骤和前提条件:
1.
2.

核对清单

其他信息

在此添加任何其他关于本次 PR 的说明。

likedislike
当前Pull Request已关闭, 关闭人@hemahema
hemahema
hemahema成员
11 天前 评论:

/compile

likedislike
hemahemahemahema成员
4 天前 关闭了 pull request