[Mlir-commits] [mlir] [mlir][python] Add `walk` method to PyOperationBase (PR #87962)

Hideto Ueno llvmlistbot at llvm.org
Thu Apr 11 05:57:41 PDT 2024


================
@@ -18,6 +18,7 @@
 #ifndef MLIR_BINDINGS_PYTHON_PYBINDADAPTORS_H
 #define MLIR_BINDINGS_PYTHON_PYBINDADAPTORS_H
 
+#include <pybind11/functional.h>
----------------
uenoku wrote:

This was needed to implicitly convert python object to std::function. 

https://github.com/llvm/llvm-project/pull/87962


More information about the Mlir-commits mailing list