Update conv.cc

This commit is contained in:
Mihai Maruseac 2021-06-04 13:16:28 -07:00 committed by GitHub
parent 89928fa1c7
commit 9ddc001dae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -919,9 +919,9 @@ TfLiteStatus EvalImpl(TfLiteContext* context, TfLiteNode* node) {
case kTfLiteFloat32:
if (filter->type == kTfLiteUInt8 || filter->type == kTfLiteInt8) {
if (data->is_hybrid_per_channel) {
TF_LITE_ENSURE_OK(context,EvalHybridPerChannel<kernel_type>(
context, node, params, data, input,
filter, bias, im2col, output));
TF_LITE_ENSURE_OK(context, EvalHybridPerChannel<kernel_type>(
context, node, params, data, input,
filter, bias, im2col, output));
} else {
TfLiteTensor* accum_scratch =
&context->tensors[node->temporaries