Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/core/graph/
Dgraph_def_builder.h168 Status AddFunctionLibrary(const FunctionDefLibrary& fdef_lib) { in AddFunctionLibrary() argument
169 return graph_.AddFunctionLibrary(fdef_lib); in AddFunctionLibrary()
Dgraph_partition_test.cc461 FunctionDefLibrary fdef_lib; in TEST_F() local
462 *fdef_lib.add_function() = test::function::XTimesTwo(); in TEST_F()
463 *fdef_lib.add_function() = test::function::XTimesFour(); in TEST_F()
464 TF_ASSERT_OK(in_.graph()->AddFunctionLibrary(fdef_lib)); in TEST_F()
Dgraph.cc499 Status Graph::AddFunctionLibrary(const FunctionDefLibrary& fdef_lib) { in AddFunctionLibrary() argument
501 if (fdef_lib.function_size() > 0 && versions_->min_consumer() < 12) { in AddFunctionLibrary()
504 return ops_.AddLibrary(fdef_lib); in AddFunctionLibrary()
Dgraph.h467 Status AddFunctionLibrary(const FunctionDefLibrary& fdef_lib);
/external/tensorflow/tensorflow/c/
Dc_api_function.cc549 tensorflow::FunctionDefLibrary fdef_lib; in TF_GraphCopyFunction() local
550 *fdef_lib.add_function() = func->fdef; in TF_GraphCopyFunction()
552 *fdef_lib.add_function() = grad->fdef; in TF_GraphCopyFunction()
553 tensorflow::GradientDef* gdef = fdef_lib.add_gradient(); in TF_GraphCopyFunction()
559 status->status = g->graph.AddFunctionLibrary(fdef_lib); in TF_GraphCopyFunction()