aboutsummaryrefslogtreecommitdiff
path: root/delegate/opaque/src/ArgMinMax.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'delegate/opaque/src/ArgMinMax.hpp')
-rw-r--r--delegate/opaque/src/ArgMinMax.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/delegate/opaque/src/ArgMinMax.hpp b/delegate/opaque/src/ArgMinMax.hpp
index 7dfd89f57b..e5499022c6 100644
--- a/delegate/opaque/src/ArgMinMax.hpp
+++ b/delegate/opaque/src/ArgMinMax.hpp
@@ -63,7 +63,7 @@ TfLiteStatus VisitArgMinMaxOperator(DelegateData& delegateData,
}
const TfLiteOpaqueTensor* tfLiteOutputTensor = TfLiteOpaqueContextGetOpaqueTensor(tfLiteContext, outputTensors[0]);
- if (!IsValid(tfLiteContext, tfLiteInputTensor, argMinMaxOperatorCode, nodeIndex))
+ if (!IsValid(tfLiteContext, tfLiteOutputTensor, argMinMaxOperatorCode, nodeIndex))
{
return kTfLiteError;
}