MLCE-143 Fixed driver crash during CTS tests
authorMike Kelly <mike.kelly@arm.com>
Fri, 29 Nov 2019 16:35:55 +0000 (16:35 +0000)
committermike.kelly <mike.kelly@arm.com>
Fri, 29 Nov 2019 17:28:21 +0000 (17:28 +0000)
commit88d5f9f1615fa956464b8932b574d85c37cec937
treed2d9ed3079799b1e6418936430f1e4de21c56a29
parentdf31cfe29f9dccc4c2055a1d2a97de644b07d522
MLCE-143 Fixed driver crash during CTS tests

 * Only apply the Optimization when the base ReshapeLayer is connected to
   the child ReshapeLayer and no other Layer.

Signed-off-by: Mike Kelly <mike.kelly@arm.com>
Change-Id: Iccd676d657f9e7c829813f1bec9c82db8745d069
src/armnn/optimizations/OptimizeConsecutiveReshapes.hpp