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

Function TEST_F

tensorflow/compiler/xla/shape_tree_test.cc:53–59  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51};
52
53TEST_F(ShapeTreeTest, DefaultConstructor) {
54 ShapeTree<int> int_tree;
55 EXPECT_TRUE(ShapeUtil::IsEmptyTuple(int_tree.shape()));
56
57 ShapeTree<bool> bool_tree;
58 EXPECT_TRUE(ShapeUtil::IsEmptyTuple(bool_tree.shape()));
59}
60
61void ShapeTreeTest::TestShapeConstructor(const Shape& shape,
62 int expected_num_nodes) {

Callers

nothing calls this directly

Calls 15

CompatibleClass · 0.85
EXPECT_DEATHFunction · 0.85
leaf_countMethod · 0.80
CopySubtreeFromMethod · 0.80
rbeginMethod · 0.80
rendMethod · 0.80
leavesMethod · 0.80
leaf_rbeginMethod · 0.80
leaf_rendMethod · 0.80
shapeMethod · 0.45
mutable_elementMethod · 0.45
ForEachElementMethod · 0.45

Tested by

no test coverage detected