Home
last modified time | relevance | path

Searched refs:num_unit_thread (Results 1 – 10 of 10) sorted by relevance

/third_party/mindspore/mindspore/lite/micro/coder/opcoders/base/
Dquant_dtype_cast_coder.cc47 int num_unit_thread = input_tensor_->ElementsNum(); in DoCode() local
60 num_unit_thread); in DoCode()
67 num_unit_thread, from_uint8_src); in DoCode()
69 code.CodeFunction("Int8ToUInt8", input_tensor_, output_tensor_, num_unit_thread); in DoCode()
72 num_unit_thread); in DoCode()
75 num_unit_thread); in DoCode()
77 code.CodeFunction("UInt8ToInt8", input_tensor_, output_tensor_, num_unit_thread); in DoCode()
/third_party/mindspore/mindspore/lite/src/runtime/kernel/arm/base/
Dquant_dtype_cast.cc74 int num_unit_thread = MSMIN(thread_n_stride_, num_unit_ - task_id * thread_n_stride_); in QuantDTypeCast() local
75 if (num_unit_thread <= 0) { in QuantDTypeCast()
90 quant_arg.zeroPoint, num_unit_thread); in QuantDTypeCast()
97 quant_arg.zeroPoint, num_unit_thread, from_uint8_src); in QuantDTypeCast()
99 ret = Int8ToUInt8(int8_ptr_ + thread_offset, uint8_ptr_ + thread_offset, num_unit_thread); in QuantDTypeCast()
102 quant_arg.zeroPoint, num_unit_thread); in QuantDTypeCast()
105 quant_arg.zeroPoint, num_unit_thread); in QuantDTypeCast()
107 ret = UInt8ToInt8(uint8_ptr_ + thread_offset, int8_ptr_ + thread_offset, num_unit_thread); in QuantDTypeCast()
111 input_quant_arg.zeroPoint, num_unit_thread); in QuantDTypeCast()
119 output_quant_arg.zeroPoint, num_unit_thread, from_uint8_src); in QuantDTypeCast()
Dsplit_base.cc115 int num_unit_thread = MSMIN(thread_n_stride_, num_unit_ - task_id * thread_n_stride_); in Split() local
116 if (num_unit_thread <= 0) { in Split()
122 num_unit_thread, param, lite::DataTypeSize(in_tensors_.front()->data_type())); in Split()
/third_party/mindspore/mindspore/lite/src/runtime/kernel/arm/fp16/
Dquant_dtype_cast_fp16.cc90 int num_unit_thread = MSMIN(thread_n_stride_, num_unit_ - task_id * thread_n_stride_); in QuantDTypeCast() local
91 if (num_unit_thread <= 0) { in QuantDTypeCast()
107 quant_arg.zeroPoint, num_unit_thread); in QuantDTypeCast()
110 quant_arg.zeroPoint, num_unit_thread); in QuantDTypeCast()
117 quant_arg.zeroPoint, num_unit_thread); in QuantDTypeCast()
120 quant_arg.zeroPoint, num_unit_thread); in QuantDTypeCast()
/third_party/mindspore/mindspore/lite/src/runtime/kernel/arm/fp32/
Dspace_to_depth_fp32.cc67 int num_unit_thread = MSMIN(thread_h_stride_, num_unit_ - task_id * thread_h_stride_); in SpaceToDepth() local
68 if (num_unit_thread <= 0) { in SpaceToDepth()
79 … param->block_size_, thread_offset, thread_offset + num_unit_thread, sizeof(float)); in SpaceToDepth()
Dscatter_nd_fp32.cc133 int num_unit_thread = MSMIN(thread_n_stride_, num_unit_ - task_id * thread_n_stride_); in ScatterND() local
134 if (num_unit_thread <= 0) { in ScatterND()
140 unit_size_, num_unit_thread); in ScatterND()
Dscatter_nd_update_fp32.cc112 int num_unit_thread = MSMIN(thread_n_stride_, num_unit_ - task_id * thread_n_stride_); in ScatterNdUpdate() local
113 if (num_unit_thread <= 0) { in ScatterNdUpdate()
118 unit_size_, num_unit_thread); in ScatterNdUpdate()
Dglu_fp32.cc102 int num_unit_thread = MSMIN(thread_n_stride_, num_unit_ - task_id * thread_n_stride_); in Split() local
103 if (num_unit_thread <= 0) { in Split()
109 …thread_offset, num_unit_thread, &split_param_, lite::DataTypeSize(in_tensors_.front()->data_type()… in Split()
/third_party/mindspore/mindspore/lite/src/runtime/kernel/arm/int8/
Dsplit_int8.cc70 int num_unit_thread = MSMIN(thread_n_stride_, num_unit_ - task_id * thread_n_stride_); in Split() local
71 if (num_unit_thread <= 0) { in Split()
79 num_unit_thread, param); in Split()
Ddetection_post_process_int8.cc30 int num_unit_thread = MSMIN(thread_n_stride_, quant_size_ - task_id * thread_n_stride_); in DequantizeInt8ToFp32() local
33 quant_param_.zeroPoint, num_unit_thread); in DequantizeInt8ToFp32()