Merge pull request !24030 from LiangZhibo/warning
This commit is contained in:
i-robot 2021-09-27 07:34:13 +00:00 committed by Gitee
commit b814ff1b70
1 changed files with 1 additions and 1 deletions

View File

@ -152,7 +152,7 @@ AbstractBasePtr InferImplBatchNorm(const AnalysisEnginePtr &, const PrimitivePtr
MS_EXCEPTION_IF_NULL(data_format_ptr);
int64_t data_format = GetAndCheckFormat(data_format_ptr);
int64_t c_axis = 1;
size_t c_axis = 1;
if (data_format == Format::NHWC) {
c_axis = 3;
}