Home
last modified time | relevance | path

Searched refs:dim_index (Results 1 – 5 of 5) sorted by relevance

/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/base/
Dbroadcast_to.c73 …int dim_index = dim_max - 1; …
74 …while (dim_index >= 0) { …
75 … if (input_shape[dim_index] == 0) { \
79 … dim_broadcast_rate = (size_t)(output_shape[dim_index] / input_shape[dim_index]); \
81 … before_dim_elements_num = accumulate(input_shape, 0, dim_index - 1); \
82 … after_dim_elements_num = accumulate(output_shape, dim_index + 1, dim_max); \
93 … --dim_index; \
/third_party/skia/modules/skottie/src/effects/
DGaussianBlurEffect.cpp57 const auto dim_index = SkTPin<size_t>(static_cast<size_t>(fDimensions), in onSync() local
62 fBlur->setSigma({ sigma * kDimensionsMap[dim_index].x(), in onSync()
63 sigma * kDimensionsMap[dim_index].y() }); in onSync()
/third_party/flutter/skia/modules/skottie/src/effects/
DGaussianBlurEffect.cpp55 const auto dim_index = SkTPin<size_t>(static_cast<size_t>(fDimensions), in apply() local
62 fBlur->setSigma({ sigma * kDimensionsMap[dim_index].x(), in apply()
63 sigma * kDimensionsMap[dim_index].y() }); in apply()
/third_party/boost/boost/geometry/index/detail/rtree/
Dpack_create.hpp37 …e void apply(Box const& box, typename coordinate_type<Box>::type & length, std::size_t & dim_index) in apply()
39 biggest_edge<Dimension-1>::apply(box, length, dim_index); in apply()
44 dim_index = Dimension - 1; in apply()
54 …e void apply(Box const& box, typename coordinate_type<Box>::type & length, std::size_t & dim_index) in apply()
56 dim_index = 0; in apply()
75 …ly(EIt first, EIt median, EIt last, Box const& box, Box & left, Box & right, std::size_t dim_index) in apply()
77 if ( I == dim_index ) in apply()
91 …th_element_and_half_boxes<I+1, Dimension>::apply(first, median, last, box, left, right, dim_index); in apply()
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/trt_pass/
Dtrt_converter_context.cc167 for (int32_t dim_index = 0; dim_index < dim.nbDims; dim_index++) { in StoreLayerOutput() local
168 oss << dim.d[dim_index] << " "; in StoreLayerOutput()