[trivial] modify flatten_realizer script for consistent codes
authorSeungbaek Hong <sb92.hong@samsung.com>
Mon, 2 Jan 2023 07:06:49 +0000 (16:06 +0900)
committerJijoong Moon <jijoong.moon@samsung.com>
Wed, 18 Jan 2023 01:21:27 +0000 (10:21 +0900)
commit9901976bb7a0386f7b7d020f8646c0c462f8942e
treee93dc8fc7a145225d565f54abd7f79bb0d1b7702
parente6949b021fa0635c07076bd36fbe20e10542bf50
[trivial] modify flatten_realizer script for consistent codes

modify "flatten_realizer.cpp" script for consistent codes of
"flatten_realizer.cpp" and "activation_realizer.cpp".

"flatten_realizer" and "activation realizer" contain exactly same
implementation but written in slightly different ways.

It's a very trivial matter, but I thought it would be better to
write the same implementation in the same code, so I modified it.

**Self evaluation:**
1. Build test: [x]Passed []Failed []Skipped
2. Run test: [x]Passed []Failed []Skipped

Signed-off-by: Seungbaek Hong <sb92.hong@samsung.com>
nntrainer/compiler/flatten_realizer.cpp