Replace macro TF_LITE_UNSUPPORTED_TYPE with TF_LITE_KERNEL_LOG in TFLM cast.cc

This commit is contained in:
rsun 2020-12-23 13:56:36 -08:00
parent c9e8e3ee94
commit 91bd1c7454

View File

@ -126,7 +126,8 @@ TfLiteStatus Eval(TfLiteContext* context, TfLiteNode* node) {
output, num_elements);
default:
// Unsupported type.
TF_LITE_UNSUPPORTED_TYPE(context, input->type, "Cast");
TF_LITE_KERNEL_LOG(context, "Type %s (%d) not supported.",
TfLiteTypeGetName(intput->type), intput->type);
}
return kTfLiteOk;
}