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

Function AddSymbolicGradients

tensorflow/cc/framework/gradients.cc:557–565  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

555} // namespace
556
557Status AddSymbolicGradients(const Scope& scope,
558 const std::vector<Output>& outputs,
559 const std::vector<Output>& inputs,
560 const std::vector<Output>& grad_inputs,
561 std::vector<Output>* grad_outputs) {
562 SymbolicGradientBuilder builder(scope, ops::GradOpRegistry::Global(), outputs,
563 inputs, grad_inputs, grad_outputs);
564 return builder.AddGradients();
565}
566
567Status AddSymbolicGradients(const Scope& scope,
568 const std::vector<Output>& outputs,

Callers 8

AddWhileGradientLoopFunction · 0.70
CreateBackpropMethod · 0.70
TEST_FFunction · 0.70
TEST_FFunction · 0.70
CheckGradMethod · 0.70
CheckGradMethod · 0.70
TEST_FFunction · 0.50

Calls 5

OnesLikeFunction · 0.85
AddGradientsMethod · 0.45
reserveMethod · 0.45
sizeMethod · 0.45
emplace_backMethod · 0.45

Tested by 6

CreateBackpropMethod · 0.56
TEST_FFunction · 0.56
TEST_FFunction · 0.56
CheckGradMethod · 0.56
CheckGradMethod · 0.56
TEST_FFunction · 0.40