Skip to content
Snippets Groups Projects
Commit f830efec authored by Cyril Moineau's avatar Cyril Moineau
Browse files

Update MetaOp binding to update Operator -> OperatorTensor.

parent 7bc22c78
No related branches found
No related tags found
1 merge request!67dev
...@@ -122,7 +122,7 @@ void init_MetaOperatorDefs(py::module &m) { ...@@ -122,7 +122,7 @@ void init_MetaOperatorDefs(py::module &m) {
declare_PaddedMaxPoolingOp<2>(m); declare_PaddedMaxPoolingOp<2>(m);
declare_PaddedMaxPoolingOp<3>(m); declare_PaddedMaxPoolingOp<3>(m);
py::class_<MetaOperator_Op, std::shared_ptr<MetaOperator_Op>, Operator>(m, "MetaOperator_Op", py::multiple_inheritance()) py::class_<MetaOperator_Op, std::shared_ptr<MetaOperator_Op>, OperatorTensor>(m, "MetaOperator_Op", py::multiple_inheritance())
.def("get_micro_graph", &MetaOperator_Op::getMicroGraph); .def("get_micro_graph", &MetaOperator_Op::getMicroGraph);
m.def("meta_operator", &MetaOperator, m.def("meta_operator", &MetaOperator,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment