Searched refs:fdef_lib (Results 1 – 5 of 5) sorted by relevance
168 Status AddFunctionLibrary(const FunctionDefLibrary& fdef_lib) { in AddFunctionLibrary() argument169 return graph_.AddFunctionLibrary(fdef_lib); in AddFunctionLibrary()
461 FunctionDefLibrary fdef_lib; in TEST_F() local462 *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()
499 Status Graph::AddFunctionLibrary(const FunctionDefLibrary& fdef_lib) { in AddFunctionLibrary() argument501 if (fdef_lib.function_size() > 0 && versions_->min_consumer() < 12) { in AddFunctionLibrary()504 return ops_.AddLibrary(fdef_lib); in AddFunctionLibrary()
467 Status AddFunctionLibrary(const FunctionDefLibrary& fdef_lib);
549 tensorflow::FunctionDefLibrary fdef_lib; in TF_GraphCopyFunction() local550 *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()