[nnc] Fix constant folding optimization for quantization (#8241)
authorPavel Iliutchenko/AI Tools Lab /SRR/Engineer/Samsung Electronics <p.iliutchenk@samsung.com>
Thu, 17 Oct 2019 18:43:36 +0000 (21:43 +0300)
committerAlexander Efimov/./AI Tools Lab/Samsung Electronics <a.efimov@samsung.com>
Thu, 17 Oct 2019 18:43:36 +0000 (21:43 +0300)
commit9eec9db9c405ef1e8b461ed367670e14ba5a8a57
tree9961fa0518f20b278d93fcbc9ecf736d0fe80f97
parentd701f917997154574c4410cf94c0568aa7f6bcde
[nnc] Fix constant folding optimization for quantization (#8241)

* Fixed transpose for different DataType
* Added qunatization setting on optimization

Signed-off-by: Pavel Iliutchenko <p.iliutchenk@samsung.com>
compiler/nnc/passes/optimizations/ConstantFoldTranspose.cpp