| 169 | } |
| 170 | |
| 171 | XLA_TEST_F(CollectiveOpsTest, AllReduce_sum_float32_2D) { |
| 172 | TestTwoReplicasOneOperand<float>( |
| 173 | "add", |
| 174 | /*input_value=*/LiteralUtil::CreateR2<float>({{1, 2}, {3, 4}}), |
| 175 | /*expected_value=*/LiteralUtil::CreateR2<float>({{2, 4}, {6, 8}})); |
| 176 | } |
| 177 | |
| 178 | XLA_TEST_F(CollectiveOpsTest, AllReduceSingleOutput_float32) { |
| 179 | TestTwoReplicasOneOperand<float>( |
nothing calls this directly
no test coverage detected