fix scale int8 bug

This commit is contained in:
albert-yan 2022-11-26 22:45:36 +08:00
parent af8075977e
commit a3e4454903
1 changed files with 1 additions and 1 deletions

View File

@ -218,8 +218,8 @@ int ScaleInt8CPUKernel::Prepare() {
if (tensor->data_type() != TypeId::kNumberTypeInt8) {
MS_LOG(ERROR) << " in tensors type to scale_int8 should be int8, but type id " << tensor->data_type()
<< " is given";
return RET_ERROR;
}
return RET_ERROR;
}
if (!InferShapeDone()) {