Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for SegmentSum (0.08 sec)

  1. tensorflow/cc/gradients/math_grad_test.cc

      TensorShape y_shape({2, 1, 2});
      RunTest({x}, {x_shape}, {y}, {y_shape});
    }
    
    TEST_F(NaryGradTest, SegmentSum) {
      TensorShape x_shape({3, 4});
      auto x = Placeholder(scope_, DT_FLOAT, Placeholder::Shape(x_shape));
      auto y = SegmentSum(scope_, x, {0, 0, 1});
      // the sum is always on the first dimension
      TensorShape y_shape({2, 4});
      RunTest({x}, {x_shape}, {y}, {y_shape});
    }
    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