This adds type and shape inference for Relu6.
Signed-off-by: Hyun Sik Yoon <hyunsik.yoon@samsung.com>
return loco::NodeShape{input_shape};
}
- // TODO TFLRelu6
+ loco::NodeShape visit(const locoex::TFLRelu6 *node) final
+ {
+ auto input_shape = loco::shape_get(node->features()).as<loco::TensorShape>();
+
+ return loco::NodeShape{input_shape};
+ }
// TODO TFLReshape
return loco::dtype_get(node->features());
}
- // TODO TFLRelu6
+ loco::DataType visit(const locoex::TFLRelu6 *node) final
+ {
+ return loco::dtype_get(node->features());
+ }
// TODO TFLReshape