Home
last modified time | relevance | path

Searched refs:fullof7 (Results 1 – 4 of 4) sorted by relevance

/external/tensorflow/tensorflow/compiler/xla/
Darray3d_test.cc35 Array3D<int> fullof7(2, 3, 4, 7); in TEST() local
37 EXPECT_EQ(fullof7.n1(), 2); in TEST()
38 EXPECT_EQ(fullof7.n2(), 3); in TEST()
39 EXPECT_EQ(fullof7.n3(), 4); in TEST()
41 for (int64 n1 = 0; n1 < fullof7.n1(); ++n1) { in TEST()
42 for (int64 n2 = 0; n2 < fullof7.n2(); ++n2) { in TEST()
43 for (int64 n3 = 0; n3 < fullof7.n3(); ++n3) { in TEST()
44 EXPECT_EQ(fullof7(n1, n2, n3), 7); in TEST()
96 Array3D<int> fullof7(2, 3, 4, 7); in TEST() local
97 for (int64 n1 = 0; n1 < fullof7.n1(); ++n1) { in TEST()
[all …]
Darray_test.cc34 Array<int> fullof7({1, 2, 3}, 7); in TEST() local
36 EXPECT_EQ(fullof7.dim(0), 1); in TEST()
37 EXPECT_EQ(fullof7.dim(1), 2); in TEST()
38 EXPECT_EQ(fullof7.dim(2), 3); in TEST()
40 for (int64 n0 = 0; n0 < fullof7.dim(0); ++n0) { in TEST()
41 for (int64 n1 = 0; n1 < fullof7.dim(1); ++n1) { in TEST()
42 for (int64 n2 = 0; n2 < fullof7.dim(2); ++n2) { in TEST()
43 EXPECT_EQ(fullof7(n0, n1, n2), 7); in TEST()
118 Array<int> fullof7({2, 3}, 7); in TEST() local
119 for (int64 n1 = 0; n1 < fullof7.dim(0); ++n1) { in TEST()
[all …]
Darray2d_test.cc40 Array2D<int> fullof7(2, 3, 7); in TEST() local
42 EXPECT_EQ(fullof7.n1(), 2); in TEST()
43 EXPECT_EQ(fullof7.n2(), 3); in TEST()
45 for (int64 n1 = 0; n1 < fullof7.n1(); ++n1) { in TEST()
46 for (int64 n2 = 0; n2 < fullof7.n2(); ++n2) { in TEST()
47 EXPECT_EQ(fullof7(n1, n2), 7); in TEST()
113 Array2D<int> fullof7(2, 3, 7); in TEST() local
114 for (int64 n1 = 0; n1 < fullof7.n1(); ++n1) { in TEST()
115 for (int64 n2 = 0; n2 < fullof7.n2(); ++n2) { in TEST()
116 EXPECT_EQ(fullof7(n1, n2), 7); in TEST()
[all …]
Darray4d_test.cc46 Array4D<int> fullof7(2, 3, 4, 5, 7); in TEST() local
48 EXPECT_EQ(fullof7.n1(), 2); in TEST()
49 EXPECT_EQ(fullof7.n2(), 3); in TEST()
50 EXPECT_EQ(fullof7.n3(), 4); in TEST()
51 EXPECT_EQ(fullof7.n4(), 5); in TEST()
53 fullof7.Each( in TEST()
129 Array4D<int> fullof7(2, 3, 4, 5, 7); in TEST() local
130 fullof7.Each( in TEST()
133 fullof7.Fill(11); in TEST()
134 fullof7.Each( in TEST()