| 54 | }; |
| 55 | |
| 56 | TEST_F(ArrayGradTest, StackGrad_Axis0) { |
| 57 | TensorShape x_shape({1, 2, 3}); |
| 58 | std::vector<Output> xs; |
| 59 | xs.push_back(Placeholder(scope_, DT_FLOAT, Placeholder::Shape(x_shape))); |
| 60 | xs.push_back(Placeholder(scope_, DT_FLOAT, Placeholder::Shape(x_shape))); |
| 61 | auto y = Stack(scope_, xs, Stack::Axis(0)); |
| 62 | TensorShape y_shape({2, 1, 2, 3}); |
| 63 | RunTest(xs, {x_shape, x_shape}, {y}, {y_shape}); |
| 64 | } |
| 65 | |
| 66 | TEST_F(ArrayGradTest, StackGrad_Axis1) { |
| 67 | TensorShape x_shape({1, 2, 3}); |
nothing calls this directly
no test coverage detected