Home
last modified time | relevance | path

Searched refs:new_height_ (Results 1 – 18 of 18) sorted by relevance

/third_party/mindspore/mindspore/lite/src/runtime/kernel/arm/base/
Dresize_base.cc47 new_height_ = parameter->new_height_; in CheckParameters()
48 if (new_height_ < 1) { in CheckParameters()
49 MS_LOG(ERROR) << "Resize new_height should >= 1, but got " << new_height_; in CheckParameters()
64 new_height_ = out_tensors_.at(0)->shape().at(1); in CheckParameters()
Dresize_base.h40 int new_height_ = 0; variable
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/infer/
Dresize_infer.c40 param->new_height_ = data[1]; in HandleTwoInputs()
50 param->new_height_ = round(data[1] * GetHeight(input)); in HandleTwoInputs()
63 param->new_height_ = round(scale_height * GetHeight(input)); in HandleTwoInputs()
73 param->new_height_ = data[0]; in HandleTwoInputs()
91 param->new_height_ = GetHeight(input) + (GetHeight(input) - 1) * (scale - 1); in HandleTwoInputs()
138 ShapePush(output_shape, &output_shape_size, param->new_height_); in ResizeInferShape()
/third_party/mindspore/mindspore/lite/micro/coder/opcoders/nnacl/fp32/
Dresize_fp32_coder.cc65 new_height_ = output_tensor_->shape().at(kNHWC_H); in ReSize()
85 y_len_ = new_height_; in CalTmpBufferLen()
87 y_weight_len_ = new_height_; in CalTmpBufferLen()
91 y_len_ = new_height_ * 4; in CalTmpBufferLen()
93 y_weight_len_ = new_height_ * 4; in CalTmpBufferLen()
181 … "y_tops", "x_lefts", "x_rights", "y_weights", "x_weights", "line0", "line1", 0, new_height_); in DoCode()
195 "x_lefts", "y_weights", "x_weights", line_buffer_, 0, new_height_); in DoCode()
/third_party/mindspore/mindspore/lite/micro/coder/opcoders/base/
Dresize_base_coder.cc40 new_height_ = parameter->new_height_; in CheckParameters()
41 if (new_height_ < 1) { in CheckParameters()
42 MS_LOG(ERROR) << "Resize new_height should >= 1, but got " << new_height_; in CheckParameters()
Dresize_base_coder.h38 int new_height_{0};
/third_party/mindspore/mindspore/lite/src/runtime/kernel/arm/fp32/
Dresize_fp32.cc62 new_height_ = out_tensors_.at(0)->shape()[1]; in ReSize()
93 *y_len = new_height_; in CalTmpBufferLen()
95 *y_weight_len = new_height_; in CalTmpBufferLen()
99 *y_len = new_height_ * 4; in CalTmpBufferLen()
101 *y_weight_len = new_height_ * 4; in CalTmpBufferLen()
184 int unit = UP_DIV(new_height_, op_parameter_->thread_num_); in RunImpl()
186 int h_end = std::min(h_begin + unit, new_height_); in RunImpl()
Dcrop_and_resize_fp32.cc45 new_height_ = shape[1]; in ReSize()
55 …y_bottoms_ = reinterpret_cast<int *>(ms_context_->allocator->Malloc(sizeof(int) * new_height_ * ba… in MallocTmpBuffer()
60 …y_tops_ = reinterpret_cast<int *>(ms_context_->allocator->Malloc(sizeof(int) * new_height_ * batch… in MallocTmpBuffer()
65 … = reinterpret_cast<float *>(ms_context_->allocator->Malloc(sizeof(float) * new_height_ * batch_)); in MallocTmpBuffer()
133 int unit = UP_DIV(new_height_, op_parameter_->thread_num_); in RunImpl()
135 int h_end = MSMIN(h_begin + unit, new_height_); in RunImpl()
Dcrop_and_resize_fp32.h47 int new_height_ = 0; variable
/third_party/mindspore/mindspore/lite/src/delegate/npu/op/
Dresize_npu.cc54 new_height_ = resize_prim->new_height(); in Init()
62 new_height_ = out_tensors.at(0).Shape().at(NHWC_H); in Init()
71 vector<int32_t> dataValue = {static_cast<int32_t>(new_height_), static_cast<int32_t>(new_width_)}; in Init()
Dresize_npu.h47 int new_height_ = 0; variable
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/
Dresize_parameter.h24 int64_t new_height_; member
/third_party/mindspore/mindspore/lite/src/ops/populate/v0/
Dresize_populate_v0.cc41 resize_param->new_height_ = resize_prim->newHeight(); in PopulateResizeParameter()
/third_party/mindspore/mindspore/lite/src/ops/populate/
Dresize_populate.cc40 param->new_height_ = value->new_height(); in PopulateResizeParameter()
/third_party/mindspore/mindspore/lite/test/ut/src/runtime/kernel/opencl/
Dresize_tests.cc27 param->new_height_ = new_height; in CreateParameter()
/third_party/mindspore/mindspore/lite/test/ut/src/runtime/kernel/arm/int8/
Dresize_bilinear_int8_tests.cc74 param_.new_height_ = out_shape[1]; in Prepare()
Dresize_nearest_neighbor_int8_tests.cc69 param_.new_height_ = out_shape[1]; in Prepare()
/third_party/mindspore/mindspore/lite/test/ut/nnacl/infer/
Dresize_infer_test.cc40 parameter->new_height_ = 3; in TEST_F()