[nnc] Replace zero-dim tensors with tensor of shape {1} (#2513)
authorVladimir Plazun/AI Tools Lab /SRR/Engineer/삼성전자 <v.plazun@partner.samsung.com>
Wed, 5 Dec 2018 15:00:20 +0000 (18:00 +0300)
committerEfimov Alexander/AI Tools Lab/./Samsung Electronics <a.efimov@samsung.com>
Wed, 5 Dec 2018 15:00:20 +0000 (18:00 +0300)
commit505a0952edbbcd0d9bcb156ef9abbe70c6f91db4
tree344836878315181b2af30a043e417cb96e702603
parent098bfa92c28ea96372e382427347bd99cad3679b
[nnc] Replace zero-dim tensors with tensor of shape {1} (#2513)

Fixes multiple issues involving zero-dimension tensors. Includes Bias, Scale, Reduce and Elementwise operations

Signed-off-by: Vladimir Plazun <v.plazun@partner.samsung.com>
contrib/nnc/include/passes/common_frontend/shape_helper.h
contrib/nnc/passes/tflite_frontend/tflite_importer.cpp
contrib/nnc/passes/tflite_frontend/tflite_op_creator.cpp