Home
last modified time | relevance | path

Searched refs:custom_optimizer (Results 1 – 5 of 5) sorted by relevance

/external/tensorflow/tensorflow/core/kernels/data/experimental/
Dauto_shard_dataset_op.cc90 auto custom_optimizer = rewriter_config.add_custom_optimizers(); in CreateGrapplerRewriteConfig() local
91 custom_optimizer->set_name(kOptimizerName); in CreateGrapplerRewriteConfig()
94 (*custom_optimizer->mutable_parameter_map())["num_workers"] = in CreateGrapplerRewriteConfig()
99 (*custom_optimizer->mutable_parameter_map())["index"] = index_attr; in CreateGrapplerRewriteConfig()
Drebatch_dataset_op.cc79 auto custom_optimizer = rewriter_config.add_custom_optimizers(); in CreateGrapplerRewriteConfig() local
80 custom_optimizer->set_name(kOptimizerName); in CreateGrapplerRewriteConfig()
83 (*custom_optimizer->mutable_parameter_map())["num_workers"] = in CreateGrapplerRewriteConfig()
/external/tensorflow/tensorflow/core/kernels/data/
Doptimize_dataset_op.cc76 auto custom_optimizer = rewriter_config.add_custom_optimizers(); in CreateGrapplerRewriteConfig() local
77 custom_optimizer->set_name(kOptimizerName); in CreateGrapplerRewriteConfig()
79 (*custom_optimizer->mutable_parameter_map())["optimizers"] in CreateGrapplerRewriteConfig()
/external/tensorflow/tensorflow/core/grappler/optimizers/
Dmeta_optimizer.cc235 auto custom_optimizer = in InitializeOptimizersByName() local
238 if (custom_optimizer) { in InitializeOptimizersByName()
240 TF_RETURN_IF_ERROR(custom_optimizer->Init( in InitializeOptimizersByName()
242 optimizers->push_back(std::move(custom_optimizer)); in InitializeOptimizersByName()
261 auto custom_optimizer = CustomGraphOptimizerRegistry::CreateByNameOrNull( in InitializeCustomGraphOptimizers() local
264 if (custom_optimizer) { in InitializeCustomGraphOptimizers()
267 TF_RETURN_IF_ERROR(custom_optimizer->Init(&optimizer_config)); in InitializeCustomGraphOptimizers()
268 optimizers->push_back(std::move(custom_optimizer)); in InitializeCustomGraphOptimizers()
/external/tensorflow/tensorflow/contrib/learn/python/learn/estimators/
Destimators_test.py174 def custom_optimizer(): function
181 optimizer=custom_optimizer,