From 3e6676da92c228196c6cc7e6fe4e8891ac1b387c Mon Sep 17 00:00:00 2001 From: Finn Williams Date: Thu, 14 May 2020 13:41:48 +0100 Subject: IVGCVSW-4669 Set destination tensorInfo in MoveAllConnections() Signed-off-by: Finn Williams Change-Id: I3563209dcb3db1b40cf2db3855adc631b5e323be --- src/armnn/optimizations/OptimizeConsecutiveReshapes.hpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/armnn/optimizations/OptimizeConsecutiveReshapes.hpp') diff --git a/src/armnn/optimizations/OptimizeConsecutiveReshapes.hpp b/src/armnn/optimizations/OptimizeConsecutiveReshapes.hpp index 39bfe6e936..546b37d525 100644 --- a/src/armnn/optimizations/OptimizeConsecutiveReshapes.hpp +++ b/src/armnn/optimizations/OptimizeConsecutiveReshapes.hpp @@ -43,8 +43,6 @@ public: const ReshapeDescriptor descriptor{outInfo.GetShape()}; auto& newReshape = *graph.InsertNewLayer(base.GetInputSlot(0), descriptor, name.c_str()); - // Sets tensor info for new layer. - newReshape.GetOutputHandler().SetTensorInfo(outInfo); // Parent is now the new layer. parentOut = &newReshape.GetOutputSlot(); } -- cgit v1.2.1