Home
last modified time | relevance | path

Searched refs:dim_x (Results 1 – 9 of 9) sorted by relevance

/external/eigen/unsupported/test/
Dcxx11_tensor_reduction_cuda.cu61 int dim_x = 33; in test_first_dim_reductions() local
65 Tensor<Type, 3, DataLayout> in(dim_x, dim_y, dim_z); in test_first_dim_reductions()
77 Type* in_data = (Type*)dev.allocate(dim_x*dim_y*dim_z*sizeof(Type)); in test_first_dim_reductions()
79 Eigen::TensorMap<Eigen::Tensor<Type, 3, DataLayout> > gpu_in(in_data, dim_x, dim_y, dim_z); in test_first_dim_reductions()
101 int dim_x = 128; in test_last_dim_reductions() local
105 Tensor<Type, 3, DataLayout> in(dim_x, dim_y, dim_z); in test_last_dim_reductions()
117 Type* in_data = (Type*)dev.allocate(dim_x*dim_y*dim_z*sizeof(Type)); in test_last_dim_reductions()
118 Type* out_data = (Type*)dev.allocate(dim_x*dim_y*sizeof(Type)); in test_last_dim_reductions()
119 Eigen::TensorMap<Eigen::Tensor<Type, 3, DataLayout> > gpu_in(in_data, dim_x, dim_y, dim_z); in test_last_dim_reductions()
120 Eigen::TensorMap<Eigen::Tensor<Type, 2, DataLayout> > gpu_out(out_data, dim_x, dim_y); in test_last_dim_reductions()
[all …]
Dcxx11_tensor_reduction_sycl.cpp57 int dim_x = 145; in test_first_dim_reductions_sycl() local
61 array<int, 3> tensorRange = {{dim_x, dim_y, dim_z}}; in test_first_dim_reductions_sycl()
95 int dim_x = 567; in test_last_dim_reductions_sycl() local
99 array<int, 3> tensorRange = {{dim_x, dim_y, dim_z}}; in test_last_dim_reductions_sycl()
102 array<int, 2> reduced_tensorRange = {{dim_x, dim_y}}; in test_last_dim_reductions_sycl()
/external/tensorflow/tensorflow/python/framework/
Dcommon_shapes.py534 for (dim_x, dim_y) in broadcasted_dims:
535 if dim_x.value is None or dim_y.value is None:
541 if dim_x.value is not None and dim_x.value > 1:
542 return_dims.append(dim_x)
547 elif dim_x.value == 1:
552 return_dims.append(dim_x)
553 elif dim_x.value == dim_y.value:
556 return_dims.append(dim_x.merge_with(dim_y))
/external/u-boot/include/
Dvideo_fb.h68 unsigned int dim_x, /* frame width */
78 unsigned int dim_x, /* frame width */
/external/tensorflow/tensorflow/core/framework/
Dcommon_shape_fns.cc1332 const auto dim_x = i < (rank_out - rank_x) in BroadcastBinaryOpOutputShapeFnHelper() local
1338 if (!c->ValueKnown(dim_x) || !c->ValueKnown(dim_y)) { in BroadcastBinaryOpOutputShapeFnHelper()
1347 if (c->Value(dim_x) > 1) { in BroadcastBinaryOpOutputShapeFnHelper()
1348 dims.push_back(dim_x); in BroadcastBinaryOpOutputShapeFnHelper()
1351 } else if (c->Value(dim_x) == 1) { in BroadcastBinaryOpOutputShapeFnHelper()
1354 dims.push_back(dim_x); in BroadcastBinaryOpOutputShapeFnHelper()
1355 } else if (dim_y.SameHandle(dim_x)) { in BroadcastBinaryOpOutputShapeFnHelper()
1356 dims.push_back(dim_x); in BroadcastBinaryOpOutputShapeFnHelper()
1360 } else if (c->Value(dim_x) == 1 || c->Value(dim_y) == 1) { in BroadcastBinaryOpOutputShapeFnHelper()
1361 if (c->Value(dim_x) == 1 && !dim_y_is_one) { in BroadcastBinaryOpOutputShapeFnHelper()
[all …]
/external/u-boot/drivers/video/
Dmb862xx.c447 unsigned int dst_y, unsigned int dim_x, in video_hw_rectfill() argument
456 DE_WR_FIFO ((dim_y << 16) | dim_x); in video_hw_rectfill()
/external/tensorflow/tensorflow/lite/toco/graph_transformations/
Dpropagate_fixed_sizes.cc97 int dim_x = i < (rank_out - rank_x) in ComputeBinaryOperatorOutputSize() local
102 if (dim_x == -1 || dim_y == -1) { in ComputeBinaryOperatorOutputSize()
105 } else if (dim_x == 1 || dim_y == 1) { in ComputeBinaryOperatorOutputSize()
107 if (dim_x == 1 && !dim_y_is_one) { in ComputeBinaryOperatorOutputSize()
113 dims_out->push_back(dim_x); in ComputeBinaryOperatorOutputSize()
117 CHECK_EQ(dim_x, dim_y) << "Dimensions must match"; in ComputeBinaryOperatorOutputSize()
118 dims_out->push_back(dim_x); in ComputeBinaryOperatorOutputSize()
/external/tensorflow/tensorflow/python/eager/
Dfunction.py177 for dim_x, dim_y in zip(x.dims, y.dims):
178 if (dim_x != dim_y
179 or tensor_shape.dimension_value(dim_x) is None
183 dims.append(tensor_shape.dimension_value(dim_x))
/external/freetype/src/pshinter/
Dpshalgo.c2113 PSH_Dimension dim_x = &glyph->globals->dimension[0]; in ps_hints_apply() local
2116 FT_Fixed x_scale = dim_x->scale_mult; in ps_hints_apply()