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

Function XLA_TEST_F

tensorflow/compiler/xla/tests/broadcast_simple_test.cc:108–112  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

106using ::testing::HasSubstr;
107
108XLA_TEST_F(BroadcastSimpleTest, ScalarNoOpBroadcast) {
109 XlaBuilder b(TestName());
110 Broadcast(ConstantR0<float>(&b, 1.5), {});
111 ComputeAndCompareR0<float>(&b, 1.5, {}, ErrorSpec(0.0001));
112}
113
114XLA_TEST_F(BroadcastSimpleTest, ScalarTo2D_2x3) {
115 XlaBuilder b(TestName());

Callers 1

Calls 12

TestNameFunction · 0.85
BroadcastFunction · 0.85
ConstantLiteralFunction · 0.85
ErrorSpecClass · 0.70
AndFunction · 0.50
AddClass · 0.50
MulFunction · 0.50
ExecuteFunction · 0.50
HasSubstrFunction · 0.50
getMethod · 0.45
okMethod · 0.45
statusMethod · 0.45

Tested by

no test coverage detected