Home
last modified time | relevance | path

Searched refs:is_train_session_ (Results 1 – 25 of 32) sorted by relevance

12

/third_party/mindspore/mindspore/lite/src/runtime/kernel/arm/fp16/
Dconvolution_depthwise_fp16.cc28 void *origin_weight = (op_parameter_->is_train_session_) ? weight_tensor->data() : origin_weight_; in PackWeight()
38 if (!op_parameter_->is_train_session_) { in MallocWeightBiasData()
62 if (op_parameter_->is_train_session_) { in Init()
Dconvolution_depthwise_3x3_fp16.cc32 void *origin_weight = (op_parameter_->is_train_session_) ? weight_tensor->data() : origin_weight_; in PackWeight()
43 if (!op_parameter_->is_train_session_) { in MallocWeightBiasData()
68 if (op_parameter_->is_train_session_) { in Init()
Dconvolution_fp16.cc35 void *weight_origin = (op_parameter_->is_train_session_) ? filter_tensor->data() : origin_weight_; in PackWeight()
52 if (!op_parameter_->is_train_session_) { in MallocWeightBiasData()
99 if (op_parameter_->is_train_session_) { in Init()
Dconvolution_depthwise_slidewindow_fp16.cc59 void *origin_weight = (op_parameter_->is_train_session_) ? weight_tensor->data() : origin_weight_; in PackWeight()
69 if (!op_parameter_->is_train_session_) { in MallocWeightBiasData()
98 if (op_parameter_->is_train_session_) { in Init()
Ddeconvolution_depthwise_fp16.cc76 if (!op_parameter_->is_train_session_) { in MallocWeightBiasData()
96 void *origin_weight = (op_parameter_->is_train_session_) ? weight_tensor->data() : origin_weight_; in PackWeight()
108 if (op_parameter_->is_train_session_) { in Init()
Dconvolution_winograd_fp16.cc44 if (!op_parameter_->is_train_session_) { in MallocWeightBiasData()
83 void *weight_origin = (op_parameter_->is_train_session_) ? weight_tensor->data() : origin_weight_; in PackWeight()
150 if (op_parameter_->is_train_session_) { in Init()
Ddeconvolution_fp16.cc62 void *origin_weight = (op_parameter_->is_train_session_) ? weight_tensor->data() : origin_weight_; in PackWeight()
75 if (!op_parameter_->is_train_session_) { in MallocWeightBiasData()
190 if (op_parameter_->is_train_session_) { in Init()
Dconvolution_1x1_fp16.cc89 if (!op_parameter_->is_train_session_) { in MallocWeightBiasData()
118 void *weight_origin = (op_parameter_->is_train_session_) ? weight_tensor->data() : origin_weight_; in PackWeight()
150 if (op_parameter_->is_train_session_) { in Init()
Dbiasadd_fp16.cc55 if (op_parameter_->is_train_session_) { in Run()
/third_party/mindspore/mindspore/lite/src/runtime/kernel/arm/fp32/
Dconvolution_depthwise_fp32.cc28 if (op_parameter_->is_train_session_) { in Init()
102 void *origin_weight = (op_parameter_->is_train_session_) ? weight_tensor->data() : origin_weight_; in PackWeight()
116 if (!op_parameter_->is_train_session_) { in MallocWeightBiasData()
Dconvolution_depthwise_3x3_fp32.cc30 if (op_parameter_->is_train_session_) { in Init()
118 void *origin_weight = (op_parameter_->is_train_session_) ? weight_tensor->data() : origin_weight_; in PackWeight()
128 if (!op_parameter_->is_train_session_) { in MallocWeightBiasData()
Dmatmul_fp32_base.cc48 if (op_parameter_->is_train_session_) { in InitParameter()
83 if (!op_parameter_->is_train_session_) { in InitBufferA()
107 if (op_parameter_->is_train_session_) { in InitBufferB()
236 if (!op_parameter_->is_train_session_) { in FreeResizeBufA()
258 if (!op_parameter_->is_train_session_) { in FreeResizeBufB()
386 if (op_parameter_->is_train_session_) { in ReSize()
Dconvolution_depthwise_slidewindow_fp32.cc62 if (op_parameter_->is_train_session_) { in Init()
165 void *origin_weight = (op_parameter_->is_train_session_) ? weight_tensor->data() : origin_weight_; in PackWeight()
175 if (!op_parameter_->is_train_session_) { in MallocWeightBiasData()
Dconvolution_depthwise_indirect_fp32.cc39 if (op_parameter_->is_train_session_) { in Init()
178 void *origin_weight = (op_parameter_->is_train_session_) ? weight_tensor->data() : origin_weight_; in PackWeight()
198 if (!op_parameter_->is_train_session_) { in MallocWeightBiasData()
Dconvolution_fp32.cc80 if (op_parameter_->is_train_session_) { in Init()
187 void *origin_weight = (op_parameter_->is_train_session_) ? filter_tensor->data() : origin_weight_; in PackWeight()
210 if (!op_parameter_->is_train_session_) { in MallocWeightBiasData()
Dconvolution_winograd_fp32.cc106 if (op_parameter_->is_train_session_) { in Init()
206 if (!op_parameter_->is_train_session_) { in MallocWeightBiasData()
247 void *origin_weight = (op_parameter_->is_train_session_) ? weight_tensor->data() : origin_weight_; in PackWeight()
Dconvolution_slidewindow_fp32.cc39 if (op_parameter_->is_train_session_) { in Init()
195 void *origin_weight = (op_parameter_->is_train_session_) ? filter_tensor->data() : origin_weight_; in PackWeight()
212 if (!op_parameter_->is_train_session_) { in MallocWeightBiasData()
Dconvolution_depthwise_slidewindow_x86_fp32.cc66 if (op_parameter_->is_train_session_) { in Init()
181 if (!op_parameter_->is_train_session_) { in MallocWeightBiasData()
Dconvolution_1x1_fp32.cc119 if (op_parameter_->is_train_session_) { in Init()
284 void *origin_weight = (op_parameter_->is_train_session_) ? filter_tensor->data() : origin_weight_; in PackWeight()
303 if (!op_parameter_->is_train_session_) { in MallocWeightBiasData()
Ddeconvolution_depthwise_fp32.cc80 if (op_parameter_->is_train_session_) { in Init()
193 if (!op_parameter_->is_train_session_) { in MallocWeightBiasData()
Ddeconvolution_fp32.cc64 if (!op_parameter_->is_train_session_) { in MallocWeightBiasData()
176 if (op_parameter_->is_train_session_) { in Init()
/third_party/mindspore/mindspore/lite/src/runtime/kernel/arm/base/
Dconvolution_base.cc51 } else if (!op_parameter_->is_train_session_) { in ~ConvolutionBaseCPUKernel()
126 if (op_parameter_->is_train_session_) { in InitConvWeightBias()
146 if (!op_parameter_->is_train_session_) { in InitConvWeightBias()
163 if (IsRepack() || (op_parameter_->is_train_session_)) { in RepackWeight()
164 if (op_parameter_->is_train_session_) { in RepackWeight()
Dreshape_base.cc53 op_parameter_->is_train_session_) { in Run()
/third_party/mindspore/mindspore/lite/src/
Dscheduler.h53 is_train_session_(is_train_session), in context_()
147 bool is_train_session_ = false; variable
Dscheduler.cc194 if (is_train_session_ || kernel->type() == schema::PrimitiveType_Custom || in HandleBuildinCpuKernelWeight()
215 if (is_train_session_) { in InitKernels()
892 if (is_train_session_) { in FindCpuKernel()
905 if (is_train_session_) { in FindCpuKernel()
1039 op_parameter->is_train_session_ = is_train_session_; in FindBackendKernel()
1068 ((is_train_session_ == false) || (sched_cb_ && sched_cb_->SchedFp16Kernel(node)))) { in FindBackendKernel()

12