Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for ReduceSum (0.2 sec)

  1. tensorflow/cc/gradients/math_grad.cc

      auto reduce =
          internal::BroadcastGradientArgs(scope, x_batch_shape, y_batch_shape);
      (*grad_outputs)[0] =
          Reshape(scope, ReduceSum(scope, (*grad_outputs)[0], reduce.r0), sx);
      (*grad_outputs)[1] =
          Reshape(scope, ReduceSum(scope, (*grad_outputs)[1], reduce.r1), sy);
      return scope.status();
    }
    REGISTER_GRADIENT_OP("BatchMatMulV2", BatchMatMulV2Grad);
    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