Fix compilation error, lhs should be used and not rhs

This commit is contained in:
Thibaut Goetghebuer-Planchon 2020-09-28 17:50:46 +01:00
parent e06c862dd1
commit 286195f422

View File

@ -627,7 +627,7 @@ TfLiteTensor* GetTempLhs(TfLiteContext* context, TfLiteNode* node,
return nullptr;
}
if (lhs->type == kTfLiteInt8 || rhs->type == kTfLiteInt16) {
if (lhs->type == kTfLiteInt8 || lhs->type == kTfLiteInt16) {
// Get the quantization params from the LHS tensor.
transposed_lhs->params.scale = lhs->params.scale;
transposed_lhs->params.zero_point = lhs->params.zero_point;