[exo-tflite] Introducing a pass that fuse TFLConv2D and [TFLAdd or TFLSub] (#7995)
author윤현식/On-Device Lab(SR)/Principal Engineer/삼성전자 <hyunsik.yoon@samsung.com>
Thu, 10 Oct 2019 09:22:03 +0000 (18:22 +0900)
committer박종현/On-Device Lab(SR)/Staff Engineer/삼성전자 <jh1302.park@samsung.com>
Thu, 10 Oct 2019 09:22:03 +0000 (18:22 +0900)
commit03e93f87bf29498efda06d09f0747000485b62b3
treeeb5ea04cbe4d068adacd1f3d125dd7fe7473c877
parentf1053fb6d3cdef1ec08ddf3e3d84d874641886e6
[exo-tflite] Introducing a pass that fuse TFLConv2D and [TFLAdd or TFLSub] (#7995)

* [exo-tflite] Introducing a pass that fuse TFLConv2D and [ TFLAdd or TFLSub ]

This introduces a pass that fuse TFLConv2D and [ TFLAdd or TFLSub ]. Real fusing code will be committed in next PR.

Signed-off-by: Hyun Sik Yoon <hyunsik.yoon@samsung.com>
* renaming new_bias_node to widened_const

* removed comment that says bias of conv2d is all 0's

* fix type + use more specific node names

* stop using loco::replace(..) for widened bias const

* removed unused vars

* bug fix for set_const_input
compiler/exo-tflite/src/Pass/FuseConv2DAddSubPass.cpp [new file with mode: 0644]
compiler/exo-tflite/src/Pass/FuseConv2DAddSubPass.h [new file with mode: 0644]