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

Function SumGrad

tensorflow/cc/gradients/math_grad.cc:731–739  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

729}
730
731Status SumGrad(const Scope& scope, const Operation& op,
732 const std::vector<Output>& grad_inputs,
733 std::vector<Output>* grad_outputs) {
734 grad_outputs->push_back(SumGradHelper(scope, op, grad_inputs));
735
736 // Stop propagation along reduction_indices
737 grad_outputs->push_back(NoGradient());
738 return scope.status();
739}
740REGISTER_GRADIENT_OP("Sum", SumGrad);
741
742Status MeanGrad(const Scope& scope, const Operation& op,

Callers

nothing calls this directly

Calls 4

SumGradHelperFunction · 0.85
NoGradientFunction · 0.85
push_backMethod · 0.45
statusMethod · 0.45

Tested by

no test coverage detected