Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for UnsortedSegmentSum (0.13 sec)

  1. tensorflow/cc/gradients/math_grad_test.cc

    using ops::RealDiv;
    using ops::SegmentSum;
    using ops::SelectV2;
    using ops::SquaredDifference;
    using ops::Sub;
    using ops::Sum;
    using ops::UnsortedSegmentMax;
    using ops::UnsortedSegmentMin;
    using ops::UnsortedSegmentSum;
    using ops::Where3;
    
    // TODO(andydavis) Test gradient function against numeric gradients output.
    // TODO(andydavis) As more gradients are added move common test functions
    // to a testutil library.
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Aug 25 18:20:20 UTC 2023
    - 36K bytes
    - Viewed (0)
  2. tensorflow/cc/gradients/array_grad.cc

        values = Reshape(scope, values, flat_values_shape);
      }
    
      indices = Reshape(scope, indices, indices_size);
      Output params_grad =
          UnsortedSegmentSum(scope, values, indices, gather_dim_size);
    
      if (batch_dims != 0) {
        // Put back the batch dimensions.
        params_grad = Reshape(scope, params_grad, params_shape);
      }
      return params_grad;
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 10 23:33:32 UTC 2023
    - 31.7K bytes
    - Viewed (0)
Back to top