Replace another macro TF_LITE_UNSUPPORTED_TYPE with TF_LITE_KERNEL_LOG in TFLM cast

This commit is contained in:
rsun 2020-12-23 19:09:49 -08:00
parent 91bd1c7454
commit d89ff7888d

View File

@ -95,7 +95,8 @@ TfLiteStatus copyToTensor(TfLiteContext* context, const FromT* in,
break;
default:
// Unsupported type.
TF_LITE_UNSUPPORTED_TYPE(context, out->type, "Cast");
TF_LITE_KERNEL_LOG(context, "Type %s (%d) not supported.",
TfLiteTypeGetName(out->type), out->type);
}
return kTfLiteOk;
}