Home
last modified time | relevance | path

Searched refs:merged_dims (Results 1 – 3 of 3) sorted by relevance

/external/tensorflow/tensorflow/core/kernels/
Dconv_2d.h157 Eigen::DSizes<IndexType, 3> merged_dims;
158 merged_dims[0] = in.dimension(0); // spatial dimensions
160 merged_dims[0] *= in.dimension(i);
162 merged_dims[1] = in.dimension(NDIMS - 2); // input filters
163 merged_dims[2] = in.dimension(NDIMS - 1); // output filters
175 for (int merged_dim = 0; merged_dim < merged_dims.rank(); ++merged_dim) {
188 in.reshape(merged_dims).shuffle(shuffling_perm).reshape(expanded_dims);
198 Eigen::DSizes<IndexType, 3> merged_dims;
204 merged_dims[0] = in.dimension(0);
205 merged_dims[1] = in.dimension(1);
[all …]
/external/tensorflow/tensorflow/core/framework/
Dshape_inference_test.cc488 auto merged_dims = c.MergedDims(); in TEST_F() local
489 ASSERT_EQ(3, merged_dims.size()); in TEST_F()
490 EXPECT_TRUE(merged_dims[0].first.SameHandle(d2)); in TEST_F()
491 EXPECT_TRUE(merged_dims[0].second.SameHandle(d_unknown)); in TEST_F()
492 EXPECT_TRUE(merged_dims[1].first.SameHandle(d_unknown)); in TEST_F()
493 EXPECT_TRUE(merged_dims[1].second.SameHandle(d2)); in TEST_F()
494 EXPECT_TRUE(merged_dims[2].first.SameHandle(d_unknown)); in TEST_F()
495 EXPECT_TRUE(merged_dims[2].second.SameHandle(d_unknown_b)); in TEST_F()
503 merged_dims = c.MergedDims(); in TEST_F()
504 EXPECT_EQ(3, merged_dims.size()); in TEST_F()
[all …]
/external/tensorflow/tensorflow/core/grappler/costs/
Dgraph_properties.cc2161 for (const auto& merged_dims : node_ctx->MergedDims()) { in InferStatically() local
2162 if (!shape_manager->Merge(merged_dims.first, merged_dims.second).ok()) { in InferStatically()