MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / AddFunctionLibrary

Method AddFunctionLibrary

tensorflow/core/graph/graph.cc:634–640  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

632}
633
634Status Graph::AddFunctionLibrary(const FunctionDefLibrary& fdef_lib) {
635 // Need a new-enough consumer to support the functions we add to the graph.
636 if (fdef_lib.function_size() > 0 && versions_->min_consumer() < 12) {
637 versions_->set_min_consumer(12);
638 }
639 return ops_.AddLibrary(fdef_lib);
640}
641
642namespace {
643

Callers 15

FoldConstantsFunction · 0.45
ConvertMethod · 0.45
InitGraphFunction · 0.45
TEST_FFunction · 0.45
TESTFunction · 0.45
MakeOuterGraphFunction · 0.45
TESTFunction · 0.45
TEST_FFunction · 0.45
TEST_FFunction · 0.45
TESTFunction · 0.45

Calls 1

AddLibraryMethod · 0.80

Tested by 15

TEST_FFunction · 0.36
TESTFunction · 0.36
MakeOuterGraphFunction · 0.36
TESTFunction · 0.36
TEST_FFunction · 0.36
TEST_FFunction · 0.36
TESTFunction · 0.36
TEST_FFunction · 0.36
TEST_FFunction · 0.36
TESTFunction · 0.36
TEST_FFunction · 0.36