Home
last modified time | relevance | path

Searched refs:GraphToFunctionDef (Results 1 – 18 of 18) sorted by relevance

/external/tensorflow/tensorflow/compiler/jit/
Dextract_outside_compilation_pass_test.cc286 TF_CHECK_OK(GraphToFunctionDef(*g, "cluster", xla_fdef)); in TEST_F()
414 TF_CHECK_OK(GraphToFunctionDef(*g, "cluster", xla_fdef)); in TEST_F()
462 TF_CHECK_OK(GraphToFunctionDef(*g, "cluster", xla_fdef)); in TEST_F()
551 TF_CHECK_OK(GraphToFunctionDef(*g, "true_fn", true_fn_fdef)); in TEST_F()
567 TF_CHECK_OK(GraphToFunctionDef(*g, "false_fn", false_fn_fdef)); in TEST_F()
585 TF_CHECK_OK(GraphToFunctionDef(*g, "cluster", xla_fdef)); in TEST_F()
711 TF_CHECK_OK(GraphToFunctionDef(*g, "cond_fn", cond_fn_fdef)); in TEST_F()
727 TF_CHECK_OK(GraphToFunctionDef(*g, "body_fn", body_fn_fdef)); in TEST_F()
744 TF_CHECK_OK(GraphToFunctionDef(*g, "cluster", xla_fdef)); in TEST_F()
842 TF_CHECK_OK(GraphToFunctionDef(*g, "fn", true_fn_fdef)); in TEST_F()
[all …]
Dextract_outside_compilation_pass.cc591 GraphToFunctionDef(host_graph, host_graph_func_name, &host_graph_fdef)); in ConstructHostGraph()
797 GraphToFunctionDef(*g, shape_inference_graph_name, &fdef_replace)); in RewriteShapeInferenceGraph()
868 TF_RETURN_IF_ERROR(GraphToFunctionDef(*g, func_name, &replace_fdef)); in ReplaceKeyPlaceholderWithArgNode()
946 TF_RETURN_IF_ERROR(GraphToFunctionDef(host_graph, host_graph_func_name, in BuildHostGraphForIfNode()
1014 GraphToFunctionDef(*g, loop_cond_func.name(), &replace_fdef)); in AddSendLoopPredToLoopCond()
1093 GraphToFunctionDef(*cond_graph, cond_host_func_name, &cond_replace_fdef)); in RewriteHostWhileLoopCond()
1155 GraphToFunctionDef(*body_graph, body_host_func_name, &body_replace_fdef)); in RewriteHostWhileLoopBody()
1216 TF_RETURN_IF_ERROR(GraphToFunctionDef(host_graph, host_graph_func_name, in BuildHostGraphForWhileNode()
1264 TF_RETURN_IF_ERROR(GraphToFunctionDef(host_graph, host_graph_func_name, in BuildHostGraphForFuncCallNode()
1694 GraphToFunctionDef(*graph_out, new_func_name, &updated_fdef)); in ExtractOutsideCompilationForFunction()
Dencapsulate_xla_computations_pass_test.cc303 TF_ASSERT_OK(GraphToFunctionDef(*body_graph, "launch0", flib.add_function())); in TEST()
Dencapsulate_subgraphs_pass.cc1124 TF_RETURN_IF_ERROR(GraphToFunctionDef(*graph_, name, &fdef)); in BuildFunctionDef()
1173 GraphToFunctionDef(*inference_graph, inference_graph_name, &fdef)); in AddShapeInferenceInfo()
1189 TF_RETURN_IF_ERROR(GraphToFunctionDef(*graph_, name, &fdef)); in ReplaceFunctionDef()
Dencapsulate_subgraphs_pass_test.cc58 TF_RETURN_IF_ERROR(GraphToFunctionDef( in AddGraphDefToFunctionLibrary()
/external/tensorflow/tensorflow/core/framework/
Dgraph_to_functiondef_test.cc73 TF_EXPECT_OK(GraphToFunctionDef(*graph, "test_fn", &fdef)); in TEST()
110 TF_EXPECT_OK(GraphToFunctionDef(*graph, "test_fn", &fdef)); in TEST()
Dgraph_to_functiondef.h27 Status GraphToFunctionDef(const Graph& graph, const string& name,
Dgraph_to_functiondef.cc116 Status GraphToFunctionDef(const Graph& graph, const string& name, in GraphToFunctionDef() function
/external/tensorflow/tensorflow/compiler/tf2xla/
Dtf2xla_util_test.cc345 TF_ASSERT_OK(GraphToFunctionDef(graph, "cond", &cond_fdef)); in TEST()
348 TF_ASSERT_OK(GraphToFunctionDef(graph, "body", &body_fdef)); in TEST()
378 TF_ASSERT_OK(GraphToFunctionDef(graph, "cond", &cond_fdef)); in TEST()
381 TF_ASSERT_OK(GraphToFunctionDef(graph, "body", &body_fdef)); in TEST()
Dfunctionalize_control_flow.cc217 GraphToFunctionDef(*g, new_func_name, &functionalized_fdef)); in FunctionalizeControlFlowForFunction()
Dfunctionalize_while.cc503 GraphToFunctionDef(*cond_graph, cond_name.name(), &cond_fdef)); in FunctionalizeLoop()
506 GraphToFunctionDef(*body_graph, body_name.name(), &body_fdef)); in FunctionalizeLoop()
Dtf2xla_util.cc206 GraphToFunctionDef(*func_graph, new_func_name, &replace_fdef)); in PropagateConstIntoFuncAttr()
Dfunctionalize_cond.cc743 TF_RETURN_IF_ERROR(GraphToFunctionDef(*bodies_[branch_index], in BuildIfNode()
/external/tensorflow/tensorflow/core/grappler/optimizers/data/
Dvectorization_utils.cc624 TF_RETURN_IF_ERROR(GraphToFunctionDef( in GetResult()
635 TF_RETURN_IF_ERROR(GraphToFunctionDef( in GetResult()
Dvectorization_utils_test.cc91 return GraphToFunctionDef(graph, "outer_function", result); in WrapFunctionWithMapDefun()
912 TF_RETURN_IF_ERROR(GraphToFunctionDef(graph, "inner_function", &inner)); in CwiseTestHelper()
/external/tensorflow/tensorflow/c/
Dc_api_function.cc299 Status GraphToFunctionDef(const Graph& fn_body, const string& fn_name, in GraphToFunctionDef() function
616 status->status = tensorflow::GraphToFunctionDef( in TF_GraphToFunctionWithControlOutputs()
/external/tensorflow/tensorflow/compiler/tf2tensorrt/convert/
Dconvert_graph.cc713 TF_RETURN_IF_ERROR(GraphToFunctionDef( in RegisterSegmentFunctionToFunctionLibrary()
/external/tensorflow/tensorflow/core/common_runtime/
Dprocess_function_library_runtime.cc677 TF_RETURN_IF_ERROR(GraphToFunctionDef(*subgraph, unique_name, &shard)); in InstantiateMultiDevice()