Home
last modified time | relevance | path

Searched refs:begin_params_axis_ (Results 1 – 15 of 15) sorted by relevance

/third_party/mindspore/mindspore/lite/src/runtime/kernel/arm/fp16/
Dlayer_norm_fp16.cc46 param_->begin_params_axis_ = in ReSize()
47 …param_->begin_params_axis_ > 0 ? param_->begin_params_axis_ : param_->begin_params_axis_ + shape.s… in ReSize()
58 for (int i = 0; i < param_->begin_params_axis_; ++i) { in ReSize()
62 for (size_t i = param_->begin_params_axis_; i < shape.size(); ++i) { in ReSize()
/third_party/mindspore/mindspore/lite/src/runtime/kernel/arm/fp32/
Dlayer_norm_fp32.cc45 param_->begin_params_axis_ = in ReSize()
46 …param_->begin_params_axis_ > 0 ? param_->begin_params_axis_ : param_->begin_params_axis_ + shape.s… in ReSize()
57 for (int i = 0; i < param_->begin_params_axis_; ++i) { in ReSize()
61 for (size_t i = param_->begin_params_axis_; i < shape.size(); ++i) { in ReSize()
/third_party/mindspore/mindspore/lite/src/runtime/kernel/arm/int8/
Dlayer_norm_int8.cc112 param_->begin_params_axis_ = in ReSize()
113 …param_->begin_params_axis_ > 0 ? param_->begin_params_axis_ : param_->begin_params_axis_ + shape.s… in ReSize()
124 for (int i = 0; i < param_->begin_params_axis_; ++i) { in ReSize()
128 for (size_t i = param_->begin_params_axis_; i < shape.size(); ++i) { in ReSize()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/infer/
Dlayer_norm_grad_infer.c36 int begin_params_axis = param->begin_params_axis_; in LayerNormGradInferShape()
37 if (param->begin_params_axis_ < 0) { in LayerNormGradInferShape()
Dlayer_norm_infer.c42 if (param->begin_params_axis_ < (-1 * (int)(input->shape_size_)) || in LayerNormInferShape()
43 param->begin_params_axis_ >= (int)(input->shape_size_)) { in LayerNormInferShape()
/third_party/mindspore/mindspore/lite/src/runtime/kernel/opencl/cl/
Dlayer_norm.cl75 … __global FLT *beta_, int4 in_shape, float epsilon_, int begin_params_axis_) {
89 if (begin_params_axis_ == 1) {
92 } else if (begin_params_axis_ == 2) {
95 } else if (begin_params_axis_ == 3) {
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/fp32_grad/
Dlayernormgrad_parameter.h24 int begin_params_axis_; member
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/
Dlayer_norm_parameter.h29 int begin_params_axis_; member
/third_party/mindspore/mindspore/lite/src/ops/populate/
Dlayer_norm_grad_populate.cc41 param->begin_params_axis_ = value->begin_params_axis(); in PopulateLayerNormGradParameter()
Dlayer_norm_populate.cc43 param->begin_params_axis_ = static_cast<int>(value->begin_params_axis()); in PopulateLayerNormParameter()
/third_party/mindspore/mindspore/lite/src/ops/populate/v0/
Dlayer_norm_populate_v0.cc45 layer_norm_parameter->begin_params_axis_ = -static_cast<int>(normalized_shape->size()); in PopulateLayerNormParameterV0()
/third_party/mindspore/mindspore/lite/test/ut/src/runtime/kernel/opencl/
Dlayer_norm_tests.cc29 param->begin_params_axis_ = begin_param_axis_; in CreateParameter()
/third_party/mindspore/mindspore/lite/src/runtime/kernel/arm/fp32_grad/
Dlayernorm_grad.cc55 auto begin_params_axis = lngrad_param->begin_params_axis_; in Init()
/third_party/mindspore/mindspore/lite/src/runtime/kernel/arm/fp16_grad/
Dlayernorm_fp16_grad.cc64 auto begin_params_axis = lngrad_param->begin_params_axis_; in Init()
/third_party/mindspore/mindspore/lite/src/runtime/kernel/opencl/kernel/
Dlayer_norm.cc49 normalized_axis_ = param->begin_params_axis_; in CheckSpecs()