MCPcopy Create free account
hub / github.com/Samsung/ONE / TEST

Function TEST

compiler/circle-eval-diff/src/Tensor.test.cpp:66–73  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

64} // namespace
65
66TEST(CircleEvalDiffTensorTest, constructor)
67{
68 Tensor t;
69
70 EXPECT_EQ(0, t.byte_size());
71 EXPECT_EQ(0, t.rank());
72 EXPECT_EQ(loco::DataType::Unknown, t.dtype());
73}
74
75TEST(CircleEvalDiffTensorTest, getter_setter)
76{

Callers

nothing calls this directly

Calls 8

createEmptyTensorFunction · 0.85
byte_sizeMethod · 0.80
rankMethod · 0.45
dtypeMethod · 0.45
shapeMethod · 0.45
dimMethod · 0.45
setMethod · 0.45
emplace_backMethod · 0.45

Tested by

no test coverage detected