Home
last modified time | relevance | path

Searched refs:AddFunctionDef (Results 1 – 25 of 26) sorted by relevance

12

/external/tensorflow/tensorflow/compiler/tf2xla/
Dtf2xla_util_test.cc346 TF_ASSERT_OK(fld.AddFunctionDef(cond_fdef)); in TEST()
349 TF_ASSERT_OK(fld.AddFunctionDef(body_fdef)); in TEST()
379 TF_ASSERT_OK(fld.AddFunctionDef(cond_fdef)); in TEST()
382 TF_ASSERT_OK(fld.AddFunctionDef(body_fdef)); in TEST()
Dfunctionalize_while.cc248 return library->AddFunctionDef(*lookup_library->Find(function_name)); in AddMissingFunctionByName()
286 library->AddFunctionDef(*lookup_library->Find(node.op()))); in AddMissingFunctionDef()
508 TF_RETURN_IF_ERROR(library->AddFunctionDef(cond_fdef)); in FunctionalizeLoop()
509 TF_RETURN_IF_ERROR(library->AddFunctionDef(body_fdef)); in FunctionalizeLoop()
Dfunctionalize_control_flow.cc224 TF_RETURN_IF_ERROR(fld->AddFunctionDef(functionalized_fdef)); in FunctionalizeControlFlowForFunction()
Dtf2xla_util.cc97 TF_RETURN_IF_ERROR(fld->AddFunctionDef(*fdef)); in CopyAssociatedFunctions()
207 TF_RETURN_IF_ERROR(fld->AddFunctionDef(replace_fdef)); in PropagateConstIntoFuncAttr()
Dxla_compiler_test.cc899 TF_ASSERT_OK(flib_def_->AddFunctionDef(FillFn())); in TEST_F()
939 TF_ASSERT_OK(local_flib_def->AddFunctionDef(test::function::XTimesTwo())); in TEST_F()
1342 TF_ASSERT_OK(flib_def_->AddFunctionDef(fn)); in TEST_F()
Dfunctionalize_cond.cc745 TF_RETURN_IF_ERROR(library->AddFunctionDef(body_fdef)); in BuildIfNode()
/external/tensorflow/tensorflow/core/common_runtime/
Doptimization_registry_test.cc49 return options.flib_def->AddFunctionDef(test::function::WXPlusB()); in Run()
Dgraph_execution_state.cc710 TF_RETURN_IF_ERROR((*optimized_flib)->AddFunctionDef(fdef)); in OptimizeGraph()
Dprocess_function_library_runtime.cc679 TF_RETURN_IF_ERROR(data->overlay_lib_.AddFunctionDef(shard)); in InstantiateMultiDevice()
/external/tensorflow/tensorflow/core/framework/
Dfunction_test.cc1009 TEST(FunctionLibraryDefinitionTest, AddFunctionDef) { in TEST() argument
1016 TF_EXPECT_OK(lib_def.AddFunctionDef(test::function::WXPlusB())); in TEST()
1035 Status s = lib_def.AddFunctionDef(fdef); in TEST()
1042 TF_EXPECT_OK(lib_def.AddFunctionDef(test::function::XTimesTwo())); in TEST()
1043 TF_EXPECT_OK(lib_def.AddFunctionDef(test::function::WXPlusB())); in TEST()
Dfunction.h339 Status AddFunctionDef(const FunctionDef& fdef) LOCKS_EXCLUDED(mu_);
Dfunction.cc1032 TF_CHECK_OK(AddFunctionDef(it.second->fdef)); in FunctionLibraryDefinition()
1074 Status FunctionLibraryDefinition::AddFunctionDef(const FunctionDef& fdef) { in AddFunctionDef() function in tensorflow::FunctionLibraryDefinition
1468 const Status added = reachable_flib.AddFunctionDef(*func); in ReachableFunctionLibraryDefinition()
/external/tensorflow/tensorflow/core/grappler/optimizers/data/
Dfilter_fusion.cc121 TF_RETURN_IF_ERROR(function_library.AddFunctionDef(*fused_predicate)); in OptimizeAndCollectStats()
Dmap_fusion.cc142 TF_RETURN_IF_ERROR(function_library.AddFunctionDef(*fused_function)); in OptimizeAndCollectStats()
Dmap_and_filter_fusion.cc163 TF_RETURN_IF_ERROR(function_library.AddFunctionDef(*fused_function)); in OptimizeAndCollectStats()
Drebatch.cc218 TF_RETURN_IF_ERROR(flib->AddFunctionDef(func_def)); in RecursivelyHandleOp()
/external/tensorflow/tensorflow/core/common_runtime/eager/
Dcontext.cc343 Status EagerContext::AddFunctionDef(const FunctionDef& fdef) { in AddFunctionDef() function in tensorflow::EagerContext
345 TF_RETURN_IF_ERROR(func_lib_def_.AddFunctionDef(fdef)); in AddFunctionDef()
Dcontext.h151 Status AddFunctionDef(const FunctionDef& fdef);
/external/tensorflow/tensorflow/compiler/jit/
Dextract_outside_compilation_pass.cc596 TF_RETURN_IF_ERROR(fld->AddFunctionDef(host_graph_fdef)); in ConstructHostGraph()
952 TF_RETURN_IF_ERROR(fld->AddFunctionDef(oc_host_graph_fdef)); in BuildHostGraphForIfNode()
1222 TF_RETURN_IF_ERROR(fld->AddFunctionDef(oc_host_graph_fdef)); in BuildHostGraphForWhileNode()
1270 TF_RETURN_IF_ERROR(fld->AddFunctionDef(oc_host_graph_fdef)); in BuildHostGraphForFuncCallNode()
1663 TF_RETURN_IF_ERROR(fld->AddFunctionDef(shape_inference_fdef)); in ExtractOutsideCompilationForFunction()
1704 TF_RETURN_IF_ERROR(fld->AddFunctionDef(updated_fdef)); in ExtractOutsideCompilationForFunction()
Dextract_outside_compilation_pass_test.cc885 TF_CHECK_OK(fld.AddFunctionDef(*xla_fdef)); in TEST_F()
Dencapsulate_subgraphs_pass.cc1135 TF_RETURN_IF_ERROR(library->AddFunctionDef(fdef)); in BuildFunctionDef()
1178 TF_RETURN_IF_ERROR(library->AddFunctionDef(fdef)); in AddShapeInferenceInfo()
/external/tensorflow/tensorflow/core/grappler/optimizers/
Dmeta_optimizer.cc633 TF_RETURN_IF_ERROR(flib.AddFunctionDef(func_def)); in Optimize()
768 TF_RETURN_IF_ERROR(flib->AddFunctionDef(fdef)); in OptimizeGraph()
/external/tensorflow/tensorflow/core/distributed_runtime/eager/
Deager_service_impl.cc272 return context->Context()->AddFunctionDef(request->function_def()); in RegisterFunction()
/external/tensorflow/tensorflow/c/eager/
Dc_api.cc847 status->status = ctx->context.AddFunctionDef(function_def); in TFE_ContextAddFunctionDef()
852 status->status = ctx->context.AddFunctionDef(function->fdef); in TFE_ContextAddFunction()
/external/tensorflow/tensorflow/core/grappler/utils/
Dfunctions_test.cc382 TF_ASSERT_OK(flib.AddFunctionDef(FunctionDefHelper::Define( in TEST_F()

12