loco::DataType visit(const loco::BiasEncode *node) { return loco::dtype_get(node->input()); }
loco::DataType visit(const loco::ConstGen *node) { return node->dtype(); }
loco::DataType visit(const loco::Conv2D *node) { return loco::dtype_get(node->ifm()); }
- // TODO Support DepthwiseConv2D
- // TODO Support DepthwiseFilterEncode
+ loco::DataType visit(const loco::DepthwiseConv2D *node) { return loco::dtype_get(node->ifm()); }
+ loco::DataType visit(const loco::DepthwiseFilterEncode *node)
+ {
+ return loco::dtype_get(node->input());
+ }
loco::DataType visit(const loco::EltwiseAdd *node) { return loco::dtype_get(node->lhs()); }
loco::DataType visit(const loco::EltwiseDiv *node) { return loco::dtype_get(node->lhs()); }
loco::DataType visit(const loco::EltwiseMul *node) { return loco::dtype_get(node->lhs()); }