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

Function MakeGradDef

tensorflow/core/framework/function_test.cc:1116–1121  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1114}
1115
1116GradientDef MakeGradDef(const string& f, const string& g) {
1117 GradientDef grad;
1118 grad.set_function_name(f);
1119 grad.set_gradient_func(g);
1120 return grad;
1121}
1122
1123TEST(FunctionLibraryDefinitionTest, AddLibrary_Atomic) {
1124 // Create lib def containing two functions with equal names

Callers 1

TESTFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected