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

Function TEST

tensorflow/compiler/xla/array3d_test.cc:26–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24namespace {
25
26TEST(Array3dTest, UninitializedDimsCtor) {
27 Array3D<int> uninit(2, 3, 4);
28 EXPECT_EQ(uninit.n1(), 2);
29 EXPECT_EQ(uninit.n2(), 3);
30 EXPECT_EQ(uninit.n3(), 4);
31 EXPECT_EQ(uninit.num_elements(), 24);
32}
33
34TEST(Array3dTest, FillCtor) {
35 Array3D<int> fullof7(2, 3, 4, 7);

Callers

nothing calls this directly

Calls 5

n1Method · 0.45
n2Method · 0.45
n3Method · 0.45
num_elementsMethod · 0.45
FillMethod · 0.45

Tested by

no test coverage detected