aboutsummaryrefslogtreecommitdiff
path: root/delegate/opaque/src/Shape.hpp
diff options
context:
space:
mode:
authorTeresa Charlin <teresa.charlinreyes@arm.com>2023-04-28 13:19:12 +0100
committerTeresaARM <teresa.charlinreyes@arm.com>2023-04-28 21:20:48 +0000
commit86b0357c2b64cc902864fffc5fa4406cf5af1b6f (patch)
treec722804e74c45dd05da0a148404a0b0232f7c260 /delegate/opaque/src/Shape.hpp
parent083586da02165341b252d7c3ffd4381a1fe30414 (diff)
downloadarmnn-86b0357c2b64cc902864fffc5fa4406cf5af1b6f.tar.gz
IVGCVSW-7610 IVGCVSW-7616 Slice and StridedSlice for opaque delegate
* Change alignment in Shape.hpp Signed-off-by: Teresa Charlin <teresa.charlinreyes@arm.com> Change-Id: Ibc21cf5c56a1ba2daa7507a5d5c2b7311756f17f
Diffstat (limited to 'delegate/opaque/src/Shape.hpp')
-rw-r--r--delegate/opaque/src/Shape.hpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/delegate/opaque/src/Shape.hpp b/delegate/opaque/src/Shape.hpp
index ecc545d7c5..4c37c3801d 100644
--- a/delegate/opaque/src/Shape.hpp
+++ b/delegate/opaque/src/Shape.hpp
@@ -31,8 +31,7 @@ TfLiteStatus VisitShapeOperator(DelegateData& delegateData,
return kTfLiteError;
}
- const TfLiteOpaqueTensor* tfLiteInputTensor =
- TfLiteOpaqueContextGetOpaqueTensor(tfLiteContext, inputTensors[0]);
+ const TfLiteOpaqueTensor* tfLiteInputTensor = TfLiteOpaqueContextGetOpaqueTensor(tfLiteContext, inputTensors[0]);
if (!IsValid(tfLiteContext, tfLiteInputTensor, operatorCode, nodeIndex))
{
return kTfLiteError;
@@ -50,8 +49,7 @@ TfLiteStatus VisitShapeOperator(DelegateData& delegateData,
return kTfLiteError;
}
- const TfLiteOpaqueTensor* tfLiteOutputTensor =
- TfLiteOpaqueContextGetOpaqueTensor(tfLiteContext, outputTensors[0]);
+ const TfLiteOpaqueTensor* tfLiteOutputTensor = TfLiteOpaqueContextGetOpaqueTensor(tfLiteContext, outputTensors[0]);
if (!IsValid(tfLiteContext, tfLiteOutputTensor, operatorCode, nodeIndex))
{
return kTfLiteError;