Replace macro TF_LITE_UNSUPPORTED_TYPE with TF_LITE_KERNEL_LOG in TFLM cast.cc
This commit is contained in:
parent
c9e8e3ee94
commit
91bd1c7454
@ -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;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user