Home
last modified time | relevance | path

Searched refs:interpolation_ (Results 1 – 25 of 30) sorted by relevance

12

/third_party/mindspore/mindspore/ccsrc/minddata/dataset/kernels/ir/vision/
Dresize_ir.cc27 : size_(size), interpolation_(interpolation) {} in ResizeOperation()
36 …if (interpolation_ != InterpolationMode::kLinear && interpolation_ != InterpolationMode::kNearestN… in ValidateParams()
37 interpolation_ != InterpolationMode::kCubic && interpolation_ != InterpolationMode::kArea && in ValidateParams()
38 interpolation_ != InterpolationMode::kCubicPil) { in ValidateParams()
61 return std::make_shared<ResizeOp>(height, width, interpolation_); in Build()
67 args["interpolation"] = interpolation_; in to_json()
Dresize_with_bbox_ir.cc32 : size_(size), interpolation_(interpolation) {} in ResizeWithBBoxOperation()
41 …if (interpolation_ != InterpolationMode::kLinear && interpolation_ != InterpolationMode::kNearestN… in ValidateParams()
42 interpolation_ != InterpolationMode::kCubic && interpolation_ != InterpolationMode::kArea && in ValidateParams()
43 interpolation_ != InterpolationMode::kCubicPil) { in ValidateParams()
64 return std::make_shared<ResizeWithBBoxOp>(height, width, interpolation_); in Build()
70 args["interpolation"] = interpolation_; in to_json()
Drandom_resized_crop_with_bbox_ir.cc36 …: size_(size), scale_(scale), ratio_(ratio), interpolation_(interpolation), max_attempts_(max_atte… in RandomResizedCropWithBBoxOperation()
57 …if (interpolation_ != InterpolationMode::kLinear && interpolation_ != InterpolationMode::kNearestN… in ValidateParams()
58 interpolation_ != InterpolationMode::kCubic && interpolation_ != InterpolationMode::kArea && in ValidateParams()
59 interpolation_ != InterpolationMode::kCubicPil) { in ValidateParams()
80 interpolation_, max_attempts_); in Build()
89 args["interpolation"] = interpolation_; in to_json()
Drandom_resized_crop_ir.cc40 interpolation_(interpolation), in RandomResizedCropOperation()
62 …if (interpolation_ != InterpolationMode::kLinear && interpolation_ != InterpolationMode::kNearestN… in ValidateParams()
63 interpolation_ != InterpolationMode::kCubic && interpolation_ != InterpolationMode::kArea && in ValidateParams()
64 interpolation_ != InterpolationMode::kCubicPil) { in ValidateParams()
85 interpolation_, max_attempts_); in Build()
94 args["interpolation"] = interpolation_; in to_json()
Daffine_ir.cc32 interpolation_(interpolation), in AffineOperation()
61 …if (interpolation_ != InterpolationMode::kLinear && interpolation_ != InterpolationMode::kNearestN… in ValidateParams()
62 interpolation_ != InterpolationMode::kCubic && interpolation_ != InterpolationMode::kArea) { in ValidateParams()
73 std::make_shared<AffineOp>(degrees_, translation_, scale_, shear_, interpolation_, fill_value_); in Build()
83 args["resample"] = interpolation_; in to_json()
Drandom_affine_ir.cc45 interpolation_(interpolation), in RandomAffineOperation()
125 …if (interpolation_ != InterpolationMode::kLinear && interpolation_ != InterpolationMode::kNearestN… in ValidateParams()
126 interpolation_ != InterpolationMode::kCubic && interpolation_ != InterpolationMode::kArea) { in ValidateParams()
149 interpolation_, fill_value); in Build()
159 args["resample"] = interpolation_; in to_json()
Drandom_crop_decode_resize_ir.cc62 … aspect_lower_bound, aspect_upper_bound, interpolation_, max_attempts_); in Build()
74 args["interpolation"] = interpolation_; in to_json()
Dresize_ir.h56 InterpolationMode interpolation_; variable
Dresize_with_bbox_ir.h56 InterpolationMode interpolation_; variable
Daffine_ir.h61 InterpolationMode interpolation_; variable
Drandom_resized_crop_with_bbox_ir.h61 InterpolationMode interpolation_; variable
Drandom_resized_crop_ir.h62 InterpolationMode interpolation_; variable
Drandom_affine_ir.h61 InterpolationMode interpolation_; variable
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/kernels/image/
Drotate_op.cc38 interpolation_(InterpolationMode::kLinear),
49 interpolation_(resample), in RotateOp()
59 …return Rotate(input, output, center_, degrees_, interpolation_, expand_, fill_r_, fill_g_, fill_b_… in Compute()
Dresize_op.h49 : size1_(size1), size2_(size2), interpolation_(interpolation) {} in size1_()
67 InterpolationMode interpolation_; variable
Drandom_rotation_op.cc40 interpolation_(resample), in RandomRotationOp()
61 return Rotate(input, output, center_, degree, interpolation_, expand_, fill_r_, fill_g_, fill_b_); in Compute()
Daffine_op.cc45 interpolation_(interpolation), in AffineOp()
95 …RETURN_IF_NOT_OK(Affine(input, output, matrix, interpolation_, fill_value_[0], fill_value_[1], fil… in Compute()
Drandom_resize_with_bbox_op.cc28 interpolation_ = static_cast<InterpolationMode>(distribution_(random_generator_)); in Compute()
Drandom_crop_and_resize_op.cc40 interpolation_(interpolation), in RandomCropAndResizeOp()
76 target_width_, interpolation_)); in Compute()
Daffine_op.h56 InterpolationMode interpolation_; variable
Drandom_rotation_op.h73 InterpolationMode interpolation_; variable
Drandom_crop_and_resize_with_bbox_op.cc49 interpolation_)); in Compute()
Drotate_op.h64 InterpolationMode interpolation_; variable
Drandom_crop_and_resize_op.h75 InterpolationMode interpolation_; variable
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/api/
Dvision.cc103 interpolation_(interpolation), in Data()
109 InterpolationMode interpolation_; member
119 data_->interpolation_, data_->fill_value_); in Parse()
461 interpolation_(interpolation), in Data()
467 InterpolationMode interpolation_; member
478 … data_->shear_ranges_, data_->interpolation_, data_->fill_value_); in Parse()
544 …: size_(size), scale_(scale), ratio_(ratio), interpolation_(interpolation), max_attempts_(max_atte… in Data()
548 InterpolationMode interpolation_; member
559 … data_->interpolation_, data_->max_attempts_); in Parse()
649 …: size_(size), scale_(scale), ratio_(ratio), interpolation_(interpolation), max_attempts_(max_atte… in Data()
[all …]

12