Fix crash issue
authorTee Jung <tee.ty.jung@openedges.com>
Fri, 1 Nov 2019 05:27:28 +0000 (05:27 +0000)
committerMatteo Martincigh <matteo.martincigh@arm.com>
Mon, 4 Nov 2019 09:11:08 +0000 (09:11 +0000)
commitfcf6fd562f87595c814d8acbec04194421018c32
tree0d719705d6d05388025457ee9592ed35aa6309c0
parentd94efa8a7c6476fb50b3434723fda22859c236ad
Fix crash issue

* armnnOnnxParser makes tensorInfo from graph->value_info
  but PyTorch does not add weight/bias tensor information to graph->value_info
  so tensorInfo of const tensor should be extracted from graph->initializer

Signed-off-by: Jung Tae-young tee.ty.jung@openedges.com
Change-Id: Ib2656dd25abc522012cf413e843fe03949cb2eb0
src/armnnOnnxParser/OnnxParser.cpp