Add int16 as possible output type to the error message

This commit is contained in:
Thibaut Goetghebuer-Planchon 2020-07-17 12:53:59 +01:00
parent 860898de6f
commit f6c0221749

View File

@ -128,7 +128,7 @@ TfLiteStatus Eval(TfLiteContext* context, TfLiteNode* node) {
GetTensorShape(output), GetTensorData<int16_t>(output));
} else {
TF_LITE_KERNEL_LOG(context,
"Output type is %s, requires float, uint8 or int8.",
"Output type is %s, requires float, uint8, int8 or int16.",
TfLiteTypeGetName(output->type));
return kTfLiteError;
}