Home
last modified time | relevance | path

Searched refs:in_rank (Results 1 – 8 of 8) sorted by relevance

/third_party/mindspore/mindspore/lite/src/runtime/kernel/arm/fp32/
DgatherNd_fp32.cc82 int in_rank = in_shape.size(); in InitOffset() local
87 for (int i = idx_lastshape; i < in_rank; ++i) { in InitOffset()
90 std::vector<int> in_stride(in_rank); in InitOffset()
91 in_stride[in_rank - 1] = 1; in InitOffset()
92 for (int i = in_rank - 2; i >= 0; --i) { in InitOffset()
Dgather_fp32.cc51 int in_rank = in_shape.size(); in DoGather() local
53 MS_CHECK_LT(axis_, in_rank, RET_ERROR); in DoGather()
60 for (int i = axis_ + 1; i < in_rank; ++i) { in DoGather()
/third_party/mindspore/mindspore/lite/src/runtime/kernel/arm/int8/
DgatherNd_int8.cc90 int in_rank = static_cast<size_t>(in_shape.size()); in InitOffset() local
99 for (int i = idx_lastshape; i < in_rank; ++i) { in InitOffset()
102 std::vector<int> in_stride(in_rank); in InitOffset()
103 in_stride[in_rank - 1] = 1; in InitOffset()
104 for (int i = in_rank - 2; i >= 0; --i) { in InitOffset()
Dgather_int8.cc65 int in_rank = in_shape.size(); in DoGather() local
67 MS_CHECK_LT(axis_, in_rank, RET_ERROR); in DoGather()
82 for (int i = axis_ + 1; i < in_rank; ++i) { in DoGather()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/infer/
Dgather_nd_infer.c38 int in_rank = (int)(input->shape_size_); in GatherNdInferShape() local
40 if (indices->shape_[indices_rank - 1] > in_rank) { in GatherNdInferShape()
49 for (i = indices->shape_[indices_rank - 1]; i < in_rank; ++i) { in GatherNdInferShape()
Dunsqueeze_infer.c36 int in_rank = (int)(input->shape_size_); in UnsqueezeInferShape() local
50 int sz = in_rank + dim_rank; in UnsqueezeInferShape()
/third_party/mindspore/mindspore/lite/micro/coder/opcoders/nnacl/fp32/
Dgather_fp32_coder.cc46 int in_rank = static_cast<int>(in_shape.size()); in DoCode() local
57 for (int i = axis + 1; i < in_rank; ++i) { in DoCode()
/third_party/mindspore/mindspore/lite/src/runtime/kernel/arm/fp16/
Dgather_fp16.cc73 int in_rank = in_shape.size(); in DoGather() local
82 for (int i = axis + 1; i < in_rank; ++i) { in DoGather()