[nnc] Initialize modelPacked field in TfliteImporter (#1566)
author박종현/동작제어Lab(SR)/Staff Engineer/삼성전자 <jh1302.park@samsung.com>
Wed, 19 Sep 2018 07:50:53 +0000 (16:50 +0900)
committerРоман Михайлович Русяев/AI Tools Lab /SRR/Staff Engineer/삼성전자 <r.rusyaev@samsung.com>
Wed, 19 Sep 2018 07:50:53 +0000 (10:50 +0300)
This commit add an initializer for modelPacked filed in TfliteImporter.

Signed-off-by: Jonghyun Park <jh1302.park@samsung.com>
contrib/nnc/passes/tflite_frontend/tflite_importer.inline.h

index 1f553fc..0bd4197 100644 (file)
@@ -14,6 +14,6 @@ public:
 protected:
   std::unique_ptr<ModelAllocation> modelRaw;
   std::unique_ptr<ModelT> model;
-  const Model *modelPacked;
+  const Model *modelPacked = nullptr;
 };