Home
last modified time | relevance | path

Searched refs:optimized_func (Results 1 – 3 of 3) sorted by relevance

/external/tensorflow/tensorflow/core/grappler/optimizers/data/
Dmeta_optimizer.cc144 FunctionDef optimized_func; in Optimize() local
146 TF_RETURN_IF_ERROR(MakeFunctionDef(func_item, flib, &optimized_func)); in Optimize()
150 flib.ReplaceFunction(func->signature().name(), optimized_func)); in Optimize()
/external/tensorflow/tensorflow/core/grappler/optimizers/
Dmeta_optimizer_test.cc369 for (const FunctionDef* optimized_func : optimized_funcs) { in TEST_F() local
371 for (const NodeDef& node : optimized_func->node_def()) { in TEST_F()
389 ASSERT_EQ(1, optimized_func->ret().size()); in TEST_F()
390 EXPECT_EQ("Func/my_mul/output/_2:output:0", optimized_func->ret().at("z")); in TEST_F()
Dmeta_optimizer.cc891 FunctionDef optimized_func; in OptimizeConsumeItem() local
893 TF_RETURN_IF_ERROR(MakeFunctionDef(func_item, flib, &optimized_func)); in OptimizeConsumeItem()
896 TF_RETURN_IF_ERROR(flib.ReplaceFunction(func_name, optimized_func)); in OptimizeConsumeItem()