This commit makes exo-tflite to use the shape inference framework
implemented in loco core by default.
Please note that it is possible to turn off this feature via setting
EXOTFLITE_USE_LOCO_SHAPE_INFERENCE as 0.
Signed-off-by: Jonghyun Park <jh1302.park@samsung.com>
{
Knob()
{
- // Off by default
+ // On by default
auto s = std::getenv("EXOTFLITE_USE_LOCO_SHAPE_INFERENCE");
- enable_loco_shape_inferene_framework = pepper::safe_strcast<int>(s, 0 /* DEFAULT */) != 0;
+ enable_loco_shape_inferene_framework = pepper::safe_strcast<int>(s, 1 /* DEFAULT */) != 0;
}
bool enable_loco_shape_inferene_framework = false;