提交 5e1220ef 编写于 作者: P Physher 提交者: Tao Luo

fix compile error which caused by gcc4.8 related commit;test=develop (#18567)

上级 a25be53c
......@@ -93,8 +93,8 @@ class MulOp : public framework::OperatorWithKernel {
library = framework::LibraryType::kMKLDNN;
layout = framework::DataLayout::kMKLDNN;
if (input_data_type == framework::DataTypeTrait<int8_t>::DataType ||
input_data_type == framework::DataTypeTrait<uint8_t>::DataType) {
if (input_data_type == framework::DataTypeTrait<int8_t>::DataType() ||
input_data_type == framework::DataTypeTrait<uint8_t>::DataType()) {
customized_type_value = kMULMKLDNNINT8;
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册