|
|
@ -199,6 +199,7 @@ void BindOpDesc(py::module &m) {
|
|
|
|
.def("attr", &OpDescBind::GetAttr)
|
|
|
|
.def("attr", &OpDescBind::GetAttr)
|
|
|
|
.def("set_block_attr", &OpDescBind::SetBlockAttr)
|
|
|
|
.def("set_block_attr", &OpDescBind::SetBlockAttr)
|
|
|
|
.def("get_block_attr", &OpDescBind::GetBlockAttr)
|
|
|
|
.def("get_block_attr", &OpDescBind::GetBlockAttr)
|
|
|
|
|
|
|
|
.def("check_attrs", &OpDescBind::CheckAttrs)
|
|
|
|
.def("infer_shape", &OpDescBind::InferShape);
|
|
|
|
.def("infer_shape", &OpDescBind::InferShape);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|