Remove obsolete parameter to the MLIRContext constructor (NFC)

This parameter is obsolete and will be remove shortly from MLIR.

PiperOrigin-RevId: 338714274
Change-Id: I550803164fd35c92ae38554e9829308503527f85
This commit is contained in:
Mehdi Amini 2020-10-23 11:40:14 -07:00 committed by TensorFlower Gardener
parent 92bcc8d011
commit 2c787e0028

View File

@ -33,7 +33,7 @@ limitations under the License.
PYBIND11_MODULE(tfr_wrapper, m) {
m.def("verify", [](std::string input) {
mlir::MLIRContext ctx(/*loadAllDialects=*/true);
mlir::MLIRContext ctx;
auto& registry = ctx.getDialectRegistry();
registry.insert<mlir::scf::SCFDialect, mlir::TF::TensorFlowDialect,
mlir::StandardOpsDialect, mlir::shape::ShapeDialect,