MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / XLA_TEST_F

Function XLA_TEST_F

tensorflow/compiler/xla/tests/collective_ops_test.cc:171–176  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

169}
170
171XLA_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
178XLA_TEST_F(CollectiveOpsTest, AllReduceSingleOutput_float32) {
179 TestTwoReplicasOneOperand<float>(

Callers

nothing calls this directly

Calls 15

PowerSetOfIotaFunction · 0.85
MakeDeviceAssnFunction · 0.85
OpenNcclChannelsFunction · 0.85
IsEmptyFunction · 0.85
DefaultFunction · 0.85
TestNameFunction · 0.85
set_replica_countMethod · 0.80
CreateExecutableMethod · 0.80
DecomposeTupleMethod · 0.80
TF_ASSERT_OK_AND_ASSIGNFunction · 0.50
EqualClass · 0.50
sizeMethod · 0.45

Tested by

no test coverage detected