aboutsummaryrefslogtreecommitdiff
path: root/src/backends/tosaCommon/operatorMappings/ReshapeOperator.cpp
diff options
context:
space:
mode:
authorKevin May <kevin.may@arm.com>2022-12-15 10:15:21 +0000
committerTeresa Charlin <teresa.charlinreyes@arm.com>2022-12-15 17:16:12 +0000
commit5b58e31109f661f70331048e22f8a66934e74d15 (patch)
tree7ad8f88bf7427a1dd2622b53fcd0b4b8632ee34e /src/backends/tosaCommon/operatorMappings/ReshapeOperator.cpp
parent3fbad94012ee6b1c6ec8e93d760619b15d98c464 (diff)
downloadarmnn-5b58e31109f661f70331048e22f8a66934e74d15.tar.gz
IVGCVSW-7170 Add Concat support to TOSA Reference Backend
* Change comment for the unique tensor names in all tosa common operators Signed-off-by: Kevin May <kevin.may@arm.com> Change-Id: I247b4b2365d5f0173218c5dfd11fba12d2399959
Diffstat (limited to 'src/backends/tosaCommon/operatorMappings/ReshapeOperator.cpp')
-rw-r--r--src/backends/tosaCommon/operatorMappings/ReshapeOperator.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backends/tosaCommon/operatorMappings/ReshapeOperator.cpp b/src/backends/tosaCommon/operatorMappings/ReshapeOperator.cpp
index 3027e2ef42..10670ecb95 100644
--- a/src/backends/tosaCommon/operatorMappings/ReshapeOperator.cpp
+++ b/src/backends/tosaCommon/operatorMappings/ReshapeOperator.cpp
@@ -18,11 +18,11 @@ TosaSerializationBasicBlock* ConvertReshapeToTosaOperator(const Layer* layer,
// using the previous and following layers so the graph is connected correctly. For validation this doesn't matter.
if(layer != nullptr)
{
- // Get the layers connected to the input slots and determine unique layer names.
+ // Get the layers connected to the input slots and determine unique tensor names.
Layer& connectedLayer = layer->GetInputSlot(0).GetConnectedOutputSlot()->GetOwningLayer();
inputName = GenerateUniqueName(connectedLayer, 0);
- // Get the layer connected to the output slot and determine unique layer name.
+ // Determine unique output tensor name.
outputName = GenerateUniqueOutputName(*layer, 0);
}