Home
last modified time | relevance | path

Searched refs:cond_fdef (Results 1 – 4 of 4) sorted by relevance

/external/tensorflow/tensorflow/compiler/tf2xla/
Dtf2xla_util_test.cc349 FunctionDef cond_fdef; in TEST() local
350 TF_ASSERT_OK(GraphToFunctionDef(graph, "cond", &cond_fdef)); in TEST()
351 TF_ASSERT_OK(fld.AddFunctionDef(cond_fdef)); in TEST()
382 FunctionDef cond_fdef; in TEST() local
383 TF_ASSERT_OK(GraphToFunctionDef(graph, "cond", &cond_fdef)); in TEST()
384 TF_ASSERT_OK(fld.AddFunctionDef(cond_fdef)); in TEST()
Dfunctionalize_while.cc423 FunctionDef cond_fdef; in FunctionalizeLoop() local
425 GraphToFunctionDef(*cond_graph, cond_name.name(), &cond_fdef)); in FunctionalizeLoop()
430 TF_RETURN_IF_ERROR(library->AddFunctionDef(cond_fdef)); in FunctionalizeLoop()
Dfunctionalize_control_flow_test.cc223 FunctionDef cond_fdef; in RunTest() local
224 TF_ASSERT_OK(GraphToFunctionDef(cond_graph, "cond_fn", &cond_fdef)); in RunTest()
227 *(fdef_lib.add_function()) = cond_fdef; in RunTest()
/external/tensorflow/tensorflow/core/tpu/graph_rewrite/
Dencapsulate_tpu_computations_pass.cc1778 const FunctionDef* cond_fdef = fld->Find(cond_func.name()); in FindArgsToLiftForWhileNode() local
1779 if (cond_fdef == nullptr) { in FindArgsToLiftForWhileNode()
1785 *cond_fdef, AttrSlice(&cond_func.attr()), fld, &cond_fbody)); in FindArgsToLiftForWhileNode()