/third_party/mindspore/mindspore/lite/src/runtime/kernel/arm/base/ |
D | resize_base.cc | 47 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()
|
D | resize_base.h | 40 int new_height_ = 0; variable
|
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/infer/ |
D | resize_infer.c | 40 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/ |
D | resize_fp32_coder.cc | 65 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/ |
D | resize_base_coder.cc | 40 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()
|
D | resize_base_coder.h | 38 int new_height_{0};
|
/third_party/mindspore/mindspore/lite/src/runtime/kernel/arm/fp32/ |
D | resize_fp32.cc | 62 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()
|
D | crop_and_resize_fp32.cc | 45 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()
|
D | crop_and_resize_fp32.h | 47 int new_height_ = 0; variable
|
/third_party/mindspore/mindspore/lite/src/delegate/npu/op/ |
D | resize_npu.cc | 54 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()
|
D | resize_npu.h | 47 int new_height_ = 0; variable
|
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/ |
D | resize_parameter.h | 24 int64_t new_height_; member
|
/third_party/mindspore/mindspore/lite/src/ops/populate/v0/ |
D | resize_populate_v0.cc | 41 resize_param->new_height_ = resize_prim->newHeight(); in PopulateResizeParameter()
|
/third_party/mindspore/mindspore/lite/src/ops/populate/ |
D | resize_populate.cc | 40 param->new_height_ = value->new_height(); in PopulateResizeParameter()
|
/third_party/mindspore/mindspore/lite/test/ut/src/runtime/kernel/opencl/ |
D | resize_tests.cc | 27 param->new_height_ = new_height; in CreateParameter()
|
/third_party/mindspore/mindspore/lite/test/ut/src/runtime/kernel/arm/int8/ |
D | resize_bilinear_int8_tests.cc | 74 param_.new_height_ = out_shape[1]; in Prepare()
|
D | resize_nearest_neighbor_int8_tests.cc | 69 param_.new_height_ = out_shape[1]; in Prepare()
|
/third_party/mindspore/mindspore/lite/test/ut/nnacl/infer/ |
D | resize_infer_test.cc | 40 parameter->new_height_ = 3; in TEST_F()
|