IVGCVSW-3277 Fix RequiresCopy in case a tensor handle factory is not available
authorMatteo Martincigh <matteo.martincigh@arm.com>
Tue, 27 Aug 2019 12:43:32 +0000 (13:43 +0100)
committerMatteo Martincigh <matteo.martincigh@arm.com>
Tue, 27 Aug 2019 12:52:19 +0000 (13:52 +0100)
commita6539ed27cd676838827e82100487ee33a8e4fe2
treec18f288f82d5887567041a34401dab3f499122ea
parentcddc906965339ed9dd0fce5b93ab0c7b453ef490
IVGCVSW-3277 Fix RequiresCopy in case a tensor handle factory is not available

 * Added null checks prior of using either the source or the destination
   handle factory when checking if the tensor requires to be copied

Change-Id: Icc6737562849be5e7d1a62243327366e06312eb9
Signed-off-by: Matteo Martincigh <matteo.martincigh@arm.com>
src/armnn/Network.cpp