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

Function XLA_TEST_F

tensorflow/compiler/xla/tests/call_test.cc:77–84  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

75};
76
77XLA_TEST_F(CallOpTest, CallR0F32IdentityScalar) {
78 XlaBuilder builder(TestName());
79 XlaComputation callee = CreateR0F32IdentityComputation();
80 auto constant = ConstantLiteral(&builder, LiteralUtil::CreateR0<float>(42.0));
81 Call(&builder, callee, {constant});
82
83 ComputeAndCompareR0<float>(&builder, 42.0, {}, ErrorSpec(0.01f));
84}
85
86XLA_TEST_F(CallOpTest, CallR1S0F32AddArray) {
87 XlaBuilder builder(TestName());

Callers

nothing calls this directly

Calls 9

TestNameFunction · 0.85
ConstantLiteralFunction · 0.85
ErrorSpecClass · 0.70
CallFunction · 0.50
ParameterFunction · 0.50
AddClass · 0.50
TF_ASSERT_OK_AND_ASSIGNFunction · 0.50
TransferToServerMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected