Home
last modified time | relevance | path

Searched refs:max_dim (Results 1 – 6 of 6) sorted by relevance

/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/infer/
Daddn_infer.c57 size_t max_dim = 0; in AddnInferShape() local
61 if (dim > max_dim) { in AddnInferShape()
62 max_dim = dim; in AddnInferShape()
65 output->shape_[d] = (int)(max_dim); // set the biggest dimension in the output tensor in AddnInferShape()
/third_party/mindspore/mindspore/lite/micro/coder/opcoders/nnacl/int8/
Ddiv_int8_coder.cc59 size_t max_dim = sizeof(tile_para.in_shape0_) / sizeof(int); in DoCode() local
60 MS_CHECK_TRUE_RET(tile_para.ndim_ <= max_dim, RET_ERROR); in DoCode()
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/graph_kernel/model/
Dop_node.cc235 auto max_dim = max_dim_input->size(); in BroadcastShape() local
238 std::vector<int64_t> cur(max_dim - s.size(), 1); in BroadcastShape()
242 std::vector<int64_t> output_shape(max_dim, 1); in BroadcastShape()
243 for (size_t i = 0; i < max_dim; i++) { in BroadcastShape()
/third_party/mesa3d/src/gallium/drivers/svga/
Dsvga_resource_texture.c865 unsigned max_dim = template->width0; in svga_texture_create() local
876 max_dim = MAX2(max_dim, template->height0); in svga_texture_create()
879 max_dim = MAX3(max_dim, template->height0, template->depth0); in svga_texture_create()
889 assert(1 << template->last_level <= max_dim); in svga_texture_create()
/third_party/boost/libs/qvm/gen/
Dgen.cpp1604 int max_dim=-100; in swizzle_impl() local
1606 max_dim=std::max(max_dim,ids[count[i]-1].idx); in swizzle_impl()
1607 if( max_dim<0 ) in swizzle_impl()
1642 if( scalar && max_dim>0 ) in swizzle_impl()
1656 TAB3 "is_vec<V>::value && vec_traits<V>::dim>="<<max_dim+1<<"," NL in swizzle_impl()
/third_party/gstreamer/gstplugins_bad/gst-libs/gst/vulkan/
Dgstvkswapper.c704 guint32 max_dim = in gst_vulkan_swapper_get_supported_caps() local
707 gst_structure_set (s, "width", GST_TYPE_INT_RANGE, 1, (gint) max_dim, in gst_vulkan_swapper_get_supported_caps()
708 "height", GST_TYPE_INT_RANGE, 1, (gint) max_dim, "pixel-aspect-ratio", in gst_vulkan_swapper_get_supported_caps()