Add int16 as possible output type to the error message
This commit is contained in:
parent
860898de6f
commit
f6c0221749
@ -128,7 +128,7 @@ TfLiteStatus Eval(TfLiteContext* context, TfLiteNode* node) {
|
|||||||
GetTensorShape(output), GetTensorData<int16_t>(output));
|
GetTensorShape(output), GetTensorData<int16_t>(output));
|
||||||
} else {
|
} else {
|
||||||
TF_LITE_KERNEL_LOG(context,
|
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));
|
TfLiteTypeGetName(output->type));
|
||||||
return kTfLiteError;
|
return kTfLiteError;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user