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

Function XLA_TEST_F

tensorflow/compiler/xla/client/lib/constants_test.cc:31–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

29using ::testing::HasSubstr;
30
31XLA_TEST_F(ConstantsTest, ConstantR0WithTypeS32) {
32 XlaBuilder builder(TestName());
33 ConstantR0WithType(&builder, xla::S32, 4);
34 ComputeAndCompareR0<int32>(&builder, 4, {});
35}
36
37XLA_TEST_F(ConstantsTest, ConstantR0WithTypeS32DoesNotAcceptFloats) {
38 XlaBuilder builder(TestName());

Callers

nothing calls this directly

Calls 15

TestNameFunction · 0.85
ConstantR0WithTypeFunction · 0.85
ScalarLikeFunction · 0.85
MakeShapeFunction · 0.85
EpsilonFunction · 0.85
epsilonFunction · 0.85
MinFiniteValueFunction · 0.85
MaxFiniteValueFunction · 0.85
MinValueFunction · 0.85
MaxValueFunction · 0.85
infinityFunction · 0.85
NanValueFunction · 0.85

Tested by

no test coverage detected