Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for kUnsortedSegmentMinMaxTestValue (0.23 sec)

  1. tensorflow/cc/gradients/math_grad_test.cc

    }
    
    // Deterministic test value for UnsortedSegmentMin/Max, since the numerical
    // gradient can be wrong if the compared inputs are nearly the same (which can
    // happen with random inputs).
    constexpr float kUnsortedSegmentMinMaxTestValue[] = {
        0.5f,  0.7f, 0.2f, 1.0f, 1.5f, 10.5f, -0.7f, 1.2f,
        -1.0f, 2.5f, 4.2f, 3.7f, 1.2f, -5.0f, -1.5f};
    
    TEST_F(NaryGradTest, UnsortedSegmentMaxGrad) {
      TensorShape shape({3, 1, 5});
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Aug 25 18:20:20 UTC 2023
    - 36K bytes
    - Viewed (0)
Back to top