diff options
author | Mike Kelly <mike.kelly@arm.com> | 2023-07-18 12:03:41 +0100 |
---|---|---|
committer | mike.kelly <mike.kelly@arm.com> | 2023-07-21 16:01:50 +0000 |
commit | b6de7a1444c09c0eb44c84a923c45c041b1f6092 (patch) | |
tree | c1d9e9241854e7d9bbb09da4f4a6f4652ff5c66c /src/armnn/Network.cpp | |
parent | c32adef195b523854144737ca05180235f5ca824 (diff) | |
download | armnn-b6de7a1444c09c0eb44c84a923c45c041b1f6092.tar.gz |
IVGCVSW-7830 Clean up
* Follow up review to clean up whitespace and copyright errors mentioned
in https://review.mlplatform.org/c/ml/armnn/+/9885
* Added BinaryElementwiseOperation to .dot files
* Refactored ConnectedToSplitterWithMoreThan4Dims function to more
generally useful ConnectedToLayerType function
Signed-off-by: Mike Kelly <mike.kelly@arm.com>
Change-Id: I0e3d0895888f3a3f0a9758ce30bc031aba50812b
Diffstat (limited to 'src/armnn/Network.cpp')
-rw-r--r-- | src/armnn/Network.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/armnn/Network.cpp b/src/armnn/Network.cpp index 010fa0076b..27e91ae39c 100644 --- a/src/armnn/Network.cpp +++ b/src/armnn/Network.cpp @@ -1322,7 +1322,7 @@ OptimizationResult ApplyBackendOptimizations(OptimizedNetworkImpl* optNetObjPtr, parentOut->Disconnect(inputSlot); for (unsigned int out = deletedLayer->GetOutputSlot(in -1).GetNumConnections(); out > 0; --out) { - InputSlot *childIn = deletedLayer->GetOutputSlot(in - 1).GetConnection(out -1); + InputSlot* childIn = deletedLayer->GetOutputSlot(in - 1).GetConnection(out -1); deletedLayer->GetOutputSlot(in - 1).Disconnect(*childIn); parentOut->Connect(*childIn); } |