| 270 | REGISTER_GRADIENT_OP("ReverseSequence", ReverseSequenceGrad); |
| 271 | |
| 272 | Status ReverseGrad(const Scope& scope, const Operation& op, |
| 273 | const std::vector<Output>& grad_inputs, |
| 274 | std::vector<Output>* grad_outputs) { |
| 275 | auto reverse_dims = op.input(1); |
| 276 | grad_outputs->push_back(Reverse(scope, grad_inputs[0], reverse_dims)); |
| 277 | grad_outputs->push_back(NoGradient()); |
| 278 | return scope.status(); |
| 279 | } |
| 280 | REGISTER_GRADIENT_OP("ReverseV2", ReverseGrad); |
| 281 | |
| 282 | Status ScatterNdGrad(const Scope& scope, const Operation& op, |
nothing calls this directly
no test coverage detected