From 13fe6ef76e9f882584fe63a2b7f292266dedf847 Mon Sep 17 00:00:00 2001 From: Sanjoy Das Date: Sun, 24 Mar 2019 02:13:59 -0700 Subject: [PATCH] [NFC] Remove misleading param name hints Since we didn't use the special `/*name=*/value` syntax these weren't getting checked and were incorrect. Instead just use default args. PiperOrigin-RevId: 240008235 --- tensorflow/compiler/tf2xla/xla_compiler.cc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tensorflow/compiler/tf2xla/xla_compiler.cc b/tensorflow/compiler/tf2xla/xla_compiler.cc index 86a25177d27..a39656ed5d3 100644 --- a/tensorflow/compiler/tf2xla/xla_compiler.cc +++ b/tensorflow/compiler/tf2xla/xla_compiler.cc @@ -436,11 +436,10 @@ XlaCompiler::XlaCompiler(XlaCompiler::Options options) FunctionDefLibrary{})); local_pflr_.reset(new ProcessFunctionLibraryRuntime( &device_mgr_, Env::Default(), options.graph_def_version, - local_flib_def_.get(), OptimizerOptions(), - nullptr /* custom_kernel_creator */)); + local_flib_def_.get(), OptimizerOptions())); pflr_.reset(new ProcessFunctionLibraryRuntime( &device_mgr_, Env::Default(), options.graph_def_version, options.flib_def, - OptimizerOptions(), nullptr /* custom_kernel_creator */)); + OptimizerOptions())); local_flib_runtime_ = local_pflr_->GetFLR(device_->name()); flib_runtime_ = pflr_->GetFLR(device_->name());