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

Function TEST

tensorflow/core/framework/partial_tensor_shape_test.cc:26–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24namespace {
25
26TEST(PartialTensorShapeTest, Default) {
27 // The default PartialTensorShape constructor constructs a shape
28 // with unknown rank.
29 const PartialTensorShape s;
30 EXPECT_EQ(s.dims(), -1);
31 EXPECT_TRUE(s.unknown_rank());
32}
33
34TEST(PartialTensorShapeTest, Concatenate) {
35 const PartialTensorShape s({10, 5});

Callers

nothing calls this directly

Calls 15

PartialTensorShapeClass · 0.85
IsValidFunction · 0.85
unknown_rankMethod · 0.80
IsFullyDefinedMethod · 0.80
AsTensorShapeMethod · 0.80
MergeWithMethod · 0.80
dimsMethod · 0.45
dim_sizeMethod · 0.45
num_elementsMethod · 0.45
ConcatenateMethod · 0.45
set_sizeMethod · 0.45
ClearMethod · 0.45

Tested by

no test coverage detected