Expose optimizations flags in Python bindings
authorAlex Zinenko <zinenko@google.com>
Tue, 22 Oct 2019 14:31:18 +0000 (07:31 -0700)
committerA. Unique TensorFlower <gardener@tensorflow.org>
Tue, 22 Oct 2019 14:31:48 +0000 (07:31 -0700)
commit43de1c43037b352010376b5e1199db0e4e54848e
treedaa196117d653bbfce2a1c818985be05e3657424
parent0237e52dde1a0b295d4665a522998e2112f8d3ce
Expose optimizations flags in Python bindings

ExecutionEngine currently supports additional parameters that can be used to
run LLVM transformations during JIT compilation. Expose this to Python
bindings. When the ExecutionEngine functionality is moved to LLVM, the
bindings-specific code can be updated to interact with LLVM.

PiperOrigin-RevId: 276060475
mlir/bindings/python/pybind.cpp