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

Function TEST

tensorflow/compiler/xla/tests/literal_test_util_test.cc:34–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32namespace {
33
34TEST(LiteralTestUtilTest, ComparesEqualTuplesEqual) {
35 Literal literal = LiteralUtil::MakeTupleFromSlices({
36 LiteralUtil::CreateR0<int32>(42),
37 LiteralUtil::CreateR0<int32>(64),
38 });
39 EXPECT_TRUE(LiteralTestUtil::Equal(literal, literal));
40}
41
42TEST(LiteralTestUtilTest, ComparesEqualComplex64TuplesEqual) {
43 Literal literal = LiteralUtil::MakeTupleFromSlices({

Calls 15

NearFunction · 0.85
DefaultFunction · 0.85
TmpDirFunction · 0.85
ReadBinaryProtoFunction · 0.85
ConsumeValueOrDieMethod · 0.80
EqualClass · 0.50
JoinPathFunction · 0.50
HasSubstrFunction · 0.50
maxFunction · 0.50
GetMatchingPathsMethod · 0.45
DeleteFileMethod · 0.45

Tested by

no test coverage detected