[CPU] Fix bug concerning model accuracy in Reduce node (#9929)

This commit is contained in:
Chen Xu 2022-01-31 01:36:36 +08:00 committed by GitHub
parent cc5d30b26c
commit 49a01bf9fc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -611,6 +611,9 @@ private:
default:
assert(!"unknown src_dt");
}
if (!isFloatCompatible(src_dt))
uni_vcvtdq2ps(vmm_val, vmm_val);
add(rsp, vlen);
}