已合并
修改maxPoolV2 infershape告警 #2263
SimonZzz创建于 3月3日
修改maxPoolV2 infershape告警 #2263
已合并
SimonZzz创建于 3月3日
1 个文件变更+1-1
@@ -81,7 +81,7 @@ static ge::graphStatus InferShapePaddingSame(
81 OP_CHECK_NULL_WITH_CONTEXT(context, strides);81 OP_CHECK_NULL_WITH_CONTEXT(context, strides);
82 OP_CHECK_IF(82 OP_CHECK_IF(
83 static_cast<uint64_t>(strides->GetShapeSize()) != SHAPE_NHWC_SIZE,83 static_cast<uint64_t>(strides->GetShapeSize()) != SHAPE_NHWC_SIZE,
84- OP_LOGE(context->GetNodeName(), "Length of strides %ld must be 4!", static_cast<uint64_t>(strides->GetShapeSize())), return GRAPH_FAILED);84+ OP_LOGE(context->GetNodeName(), "Length of strides %lu must be 4!", static_cast<uint64_t>(strides->GetShapeSize())), return GRAPH_FAILED);
85 int64_t hstridesData = static_cast<int64_t>(strides->GetData<int32_t>()[hDim]);85 int64_t hstridesData = static_cast<int64_t>(strides->GetData<int32_t>()[hDim]);
86 int64_t wstridesData = static_cast<int64_t>(strides->GetData<int32_t>()[wDim]);86 int64_t wstridesData = static_cast<int64_t>(strides->GetData<int32_t>()[wDim]);
87 OP_CHECK_IF(87 OP_CHECK_IF(