* [logo] Constant folding skips TensorBroadcast
TensorBroadcast is a good hint for optimizaiton. Let's skip this for
constant folding.
Signed-off-by: Cheongyo Bahk <ch.bahk@samsung.com>
* Add TODO comment
// We don't perform constant folding for Push
static_cast<uint32_t>(loco::CanonicalOpcode::Push),
+
+ // TensorBroadcast is a good hint for optimization
+ // TODO Let this option be controlled by driver using logo
+ static_cast<uint32_t>(loco::CanonicalOpcode::TensorBroadcast),
};
if (node->dialect() == loco::CanonicalDialect::get())