未验证 提交 8487f79c 编写于 作者: W Wangzheee 提交者: GitHub

remove skip_quant in op_teller (#45872)

上级 66c7c7eb
......@@ -296,12 +296,6 @@ bool OpTeller::Tell(const framework::ir::Node* node,
bool with_dynamic_shape) {
const std::string op_type = node->Op()->Type();
const framework::OpDesc desc = *node->Op();
// do not support the op which is labeled the `skip_quant`
if ((desc.HasAttr("namescope") &&
PADDLE_GET_CONST(std::string, desc.GetAttr("op_namescope")) ==
"/skip_quant_2/") ||
desc.HasAttr("skip_quant"))
return false;
for (auto& teller : tellers_) {
std::unordered_set<std::string> act_op_list = {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册