Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for SubGrad (0.07 sec)

  1. tensorflow/cc/gradients/math_grad.cc

      auto gx_2 = Identity(scope, grad_inputs[0]);
      return BinaryGradCommon(scope, op, grad_outputs, gx_1, gx_2);
    }
    REGISTER_GRADIENT_OP("Add", AddGrad);
    REGISTER_GRADIENT_OP("AddV2", AddGrad);
    
    Status SubGrad(const Scope& scope, const Operation& op,
                   const std::vector<Output>& grad_inputs,
                   std::vector<Output>* grad_outputs) {
      // y = x_1 - x_2
      // dy/dx_1 = 1
      // dy/dx_2 = -1
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Aug 25 18:20:20 UTC 2023
    - 50.7K bytes
    - Viewed (0)
Back to top