Home
last modified time | relevance | path

Searched refs:out_ptr (Results 1 – 25 of 65) sorted by relevance

123

/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/int8/
Dcrop_int8.c59 int8_t *out_ptr = output + n; in Int8Crop1D() local
62 memcpy(out_ptr, in_ptr, sizeof(int8_t) * out_dist_stride); in Int8Crop1D()
67 out_ptr[i] = para->quant_arg.output_activation_max_; in Int8Crop1D()
69 out_ptr[i] = para->quant_arg.output_activation_min_; in Int8Crop1D()
71 out_ptr[i] = (int8_t)output_tmp; in Int8Crop1D()
101 int8_t *out_ptr = output + n * out_height + h; in Int8Crop2D() local
104 memcpy(out_ptr, in_ptr, sizeof(int8_t) * out_dist_stride); in Int8Crop2D()
109 out_ptr[i] = para->quant_arg.output_activation_max_; in Int8Crop2D()
111 out_ptr[i] = para->quant_arg.output_activation_min_; in Int8Crop2D()
113 out_ptr[i] = (int8_t)output_tmp; in Int8Crop2D()
[all …]
Dspace_to_batch_int8.c75 int8_t *out_ptr = output + out_h_offset + k * channel; in DoSpaceToBatchPaddingNHWCInt8() local
79 memset(out_ptr, zp, channel * sizeof(int8_t)); in DoSpaceToBatchPaddingNHWCInt8()
83 memcpy(out_ptr, in_ptr, channel * sizeof(int8_t)); in DoSpaceToBatchPaddingNHWCInt8()
/third_party/mindspore/mindspore/ccsrc/frontend/parallel/tensor_layout/
Dreshape_layout_transfer.cc54 std::shared_ptr<ReshapeLayoutTransfer> out_ptr = std::make_shared<ReshapeLayoutTransfer>(*this); in ExtendFromTensorShapeByTo() local
57 out_ptr = out_ptr->ExtendFromTensorShapeByExpandedTensorShape(); in ExtendFromTensorShapeByTo()
58 if (out_ptr == nullptr) { in ExtendFromTensorShapeByTo()
61 is_expanded = out_ptr->FromTensorShapeCanBeExpandByTo(); in ExtendFromTensorShapeByTo()
63 return out_ptr; in ExtendFromTensorShapeByTo()
67 std::shared_ptr<ReshapeLayoutTransfer> out_ptr = std::make_shared<ReshapeLayoutTransfer>(*this); in ExtendToTensorShapeByFrom() local
70 out_ptr = out_ptr->ExtendToTensorShapeByExpandedTensorShape(); in ExtendToTensorShapeByFrom()
71 if (out_ptr == nullptr) { in ExtendToTensorShapeByFrom()
74 is_expanded = out_ptr->ToTensorShapeCanBeExpandByFrom(); in ExtendToTensorShapeByFrom()
76 return out_ptr; in ExtendToTensorShapeByFrom()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/fp32/
Dcommon_func_fp32.c19 void PostConvFuncComm(const float *src_ptr_, float *out_ptr, const float *bias_ptr, size_t output_c… in PostConvFuncComm() argument
36 out_ptr[dst_index] = value; in PostConvFuncComm()
42 void PostConvFuncFp32C8(const float *c8_out_ptr, float *out_ptr, const float *bias_ptr, size_t outp… in PostConvFuncFp32C8() argument
45 …PostConvFuncComm(c8_out_ptr, out_ptr, bias_ptr, output_channel, plane_size, plane_size, stride, re… in PostConvFuncFp32C8()
50 …PostFuncBiasReluC8(out_ptr, c8_out_ptr, bias_ptr, oc8div, oc8mod, plane_size, stride_size, relu_ty… in PostConvFuncFp32C8()
55 void PostConvFuncFp32C4(const float *c4_out_ptr, float *out_ptr, const float *bias_ptr, size_t outp… in PostConvFuncFp32C4() argument
61 …PostFuncBiasReluC4(out_ptr, c4_out_ptr, bias_ptr, oc4div, oc4mod, plane_size, stride_size, relu_ty… in PostConvFuncFp32C4()
63 …PostConvFuncComm(c4_out_ptr, out_ptr, bias_ptr, output_channel, plane_size, plane_stride, output_c… in PostConvFuncFp32C4()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/fp16/
Dcrop_fp16.c55 float16_t *out_ptr = output + n; in Fp16Crop1D() local
57 memcpy(out_ptr, in_ptr, sizeof(float16_t) * out_dist_stride); in Fp16Crop1D()
76 float16_t *out_ptr = output + n * out_height + h; in Fp16Crop2D() local
78 memcpy(out_ptr, in_ptr, sizeof(float16_t) * out_dist_stride); in Fp16Crop2D()
110 float16_t *out_ptr = output + n * out_stride_n + h * out_stride_h; in Fp16Crop3D() local
111 memcpy(out_ptr, in_ptr, sizeof(float16_t) * out_width); in Fp16Crop3D()
150 float16_t *out_ptr = output + n * out_stride_n + h * out_stride_h + w * out_stride_w; in Fp16Crop4D() local
151 memcpy(out_ptr, in_ptr, sizeof(float16_t) * out_channel); in Fp16Crop4D()
Dcommon_func_fp16.c19 void PostConvFuncCommFp16(float16_t *out_ptr, const float16_t *src_ptr_, const float16_t *bias_ptr, in PostConvFuncCommFp16() argument
36 out_ptr[dst_index] = value; in PostConvFuncCommFp16()
/third_party/mindspore/mindspore/lite/src/runtime/kernel/arm/control/
Dtensorlist_fromtensor.cc102 auto out_ptr = output0->GetTensor(i); in Run() local
103 MS_ASSERT(out_ptr != nullptr); in Run()
104 if (out_ptr->ElementsNum() != devision_dim0) { in Run()
105 MS_LOG(ERROR) << "tensors_[" << i << "].ElementsNum():" << out_ptr->ElementsNum() in Run()
109 auto out_data = out_ptr->data(); in Run()
112 out_ptr->set_data_type(dtype_); in Run()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/base/
Dbroadcast_to.c68 … type *out_ptr = output + (i * dim_broadcast_rate + j) * after_dim_elements_num; \
69 … memcpy(out_ptr, in_ptr, after_dim_elements_num *data_length); \
86 … type *out_ptr = data_temp + (i * dim_broadcast_rate + j) * after_dim_elements_num; \
87 … memcpy(out_ptr, in_ptr, after_dim_elements_num *data_length); \
/third_party/skia/third_party/externals/libjpeg-turbo/simd/arm/
Djquanti-neon.c97 JCOEFPTR out_ptr = coef_block; in jsimd_quantize_neon() local
185 vst1q_s16(out_ptr + (i + 0) * DCTSIZE, row0); in jsimd_quantize_neon()
186 vst1q_s16(out_ptr + (i + 1) * DCTSIZE, row1); in jsimd_quantize_neon()
187 vst1q_s16(out_ptr + (i + 2) * DCTSIZE, row2); in jsimd_quantize_neon()
188 vst1q_s16(out_ptr + (i + 3) * DCTSIZE, row3); in jsimd_quantize_neon()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/
Dbias_add_cpu_kernel.cc73 float *out_ptr = output_addr + offset; in Launch() local
78 _mm256_storeu_ps(out_ptr, dst_r3); in Launch()
81 out_ptr += C8NUM; in Launch()
/third_party/boost/libs/locale/src/encoding/
Diconv_codepage.ipp71 char *out_ptr = out_start;
77 res = conv(&begin,&in_left,&out_ptr,&out_left);
79 res = conv(0,0,&out_ptr,&out_left);
83 size_t output_count = (out_ptr - out_start) / sizeof(OutChar);
/third_party/vk-gl-cts/external/vulkancts/data/vulkan/amber/spirv_assembly/instruction/compute/signed_op/
Dglsl_uint_ssign.amber48 %out_ptr = OpAccessChain %ptr_uint %output %uint_0 %index
49 OpStore %out_ptr %outvalue
Dint_atomicumax.amber49 %out_ptr = OpAccessChain %ptr_int %output %uint_0 %index
50 %result = OpAtomicUMax %int %out_ptr %uint_1 %uint_0 %invalue
Dglsl_uint_findsmsb.amber48 %out_ptr = OpAccessChain %ptr_uint %output %uint_0 %index
49 OpStore %out_ptr %outvalue
Dglsl_int_findumsb.amber50 %out_ptr = OpAccessChain %ptr_int %output %uint_0 %index
51 OpStore %out_ptr %outvalue
Dint_atomicumin.amber49 %out_ptr = OpAccessChain %ptr_int %output %uint_0 %index
50 %result = OpAtomicUMin %int %out_ptr %uint_1 %uint_0 %invalue
Duint_snegate.amber47 %out_ptr = OpAccessChain %ptr_uint %output %uint_0 %index
48 OpStore %out_ptr %outvalue
Duint_atomicsmax.amber47 %out_ptr = OpAccessChain %ptr_uint %output %uint_0 %index
48 %result = OpAtomicSMax %uint %out_ptr %uint_1 %uint_0 %invalue
Dglsl_uint_sabs.amber48 %out_ptr = OpAccessChain %ptr_uint %output %uint_0 %index
49 OpStore %out_ptr %outvalue
Duint_atomicsmin.amber46 %out_ptr = OpAccessChain %ptr_uint %output %uint_0 %index
47 %result = OpAtomicSMin %uint %out_ptr %uint_1 %uint_0 %invalue
Duint_sdiv.amber51 %out_ptr = OpAccessChain %ptr_uint %output %uint_0 %index
52 OpStore %out_ptr %outvalue
Dglsl_uint_smin.amber52 %out_ptr = OpAccessChain %ptr_uint %output %uint_0 %index
53 OpStore %out_ptr %outvalue
Dglsl_uint_smax.amber52 %out_ptr = OpAccessChain %ptr_uint %output %uint_0 %index
53 OpStore %out_ptr %outvalue
Dglsl_int_umin.amber58 %out_ptr = OpAccessChain %ptr_int %output %uint_0 %index
59 OpStore %out_ptr %outvalue
Dint_ugreaterthan.amber61 %out_ptr = OpAccessChain %ptr_int %output %uint_0 %index
62 OpStore %out_ptr %outvalue

123