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

Method Remove

tensorflow/core/framework/function.cc:1343–1354  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1341}
1342
1343void FunctionLibraryDefinition::Remove(
1344 const std::vector<string>& funcs,
1345 const std::vector<string>& funcs_with_grads) {
1346 for (const string& f : funcs) {
1347 Status s = RemoveFunctionHelper(f);
1348 DCHECK(s.ok());
1349 }
1350 for (const string& f : funcs_with_grads) {
1351 Status s = RemoveGradient(f);
1352 DCHECK(s.ok());
1353 }
1354}
1355
1356string FunctionLibraryDefinition::FindGradient(const string& func) const {
1357 tf_shared_lock l(mu_);

Callers 12

gfile_copy_callbackFunction · 0.45
test_removeMethod · 0.45
testBasicsMethod · 0.45
_trainLoopMethod · 0.45
modelFilesFunction · 0.45

Calls 1

okMethod · 0.45

Tested by 11

test_removeMethod · 0.36
testBasicsMethod · 0.36
_trainLoopMethod · 0.36
modelFilesFunction · 0.36