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

Function QuantizeAndDequantizeV3Grad

tensorflow/cc/gradients/array_grad.cc:103–111  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

101REGISTER_GRADIENT_OP("QuantizeAndDequantizeV2", QuantizeAndDequantizeV2Grad);
102
103Status QuantizeAndDequantizeV3Grad(const Scope& scope, const Operation& op,
104 const std::vector<Output>& grad_inputs,
105 std::vector<Output>* grad_outputs) {
106 grad_outputs->push_back(Identity(scope, grad_inputs[0]));
107 grad_outputs->push_back(NoGradient());
108 grad_outputs->push_back(NoGradient());
109 grad_outputs->push_back(NoGradient());
110 return scope.status();
111}
112REGISTER_GRADIENT_OP("QuantizeAndDequantizeV3", QuantizeAndDequantizeV3Grad);
113
114Status SplitGrad(const Scope& scope, const Operation& op,

Callers

nothing calls this directly

Calls 4

NoGradientFunction · 0.85
IdentityFunction · 0.50
push_backMethod · 0.45
statusMethod · 0.45

Tested by

no test coverage detected