| 47 | }; |
| 48 | |
| 49 | TEST_F(DataFlowGradTest, DynamicPartitionGrad) { |
| 50 | TensorShape data_shape({2, 3, 2}); |
| 51 | auto data = Placeholder(scope_, DT_FLOAT, Placeholder::Shape(data_shape)); |
| 52 | auto partitions = Const(scope_, {{2, 1, 0}, {1, 2, 0}}); |
| 53 | auto y = DynamicPartition(scope_, data, partitions, 3); |
| 54 | TensorShape partition_shape({2, 2}); |
| 55 | RunTest({data}, {data_shape}, y.outputs, |
| 56 | {partition_shape, partition_shape, partition_shape}); |
| 57 | } |
| 58 | |
| 59 | TEST_F(DataFlowGradTest, DynamicStitchGrad) { |
| 60 | TensorShape d1_shape({2}); |
nothing calls this directly
no test coverage detected