/third_party/mindspore/mindspore/ccsrc/minddata/dataset/kernels/ir/vision/ |
D | resize_ir.cc | 27 : 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()
|
D | resize_with_bbox_ir.cc | 32 : 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()
|
D | random_resized_crop_with_bbox_ir.cc | 36 …: 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()
|
D | random_resized_crop_ir.cc | 40 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()
|
D | affine_ir.cc | 32 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()
|
D | random_affine_ir.cc | 45 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()
|
D | random_crop_decode_resize_ir.cc | 62 … aspect_lower_bound, aspect_upper_bound, interpolation_, max_attempts_); in Build() 74 args["interpolation"] = interpolation_; in to_json()
|
D | resize_ir.h | 56 InterpolationMode interpolation_; variable
|
D | resize_with_bbox_ir.h | 56 InterpolationMode interpolation_; variable
|
D | affine_ir.h | 61 InterpolationMode interpolation_; variable
|
D | random_resized_crop_with_bbox_ir.h | 61 InterpolationMode interpolation_; variable
|
D | random_resized_crop_ir.h | 62 InterpolationMode interpolation_; variable
|
D | random_affine_ir.h | 61 InterpolationMode interpolation_; variable
|
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/kernels/image/ |
D | rotate_op.cc | 38 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()
|
D | resize_op.h | 49 : size1_(size1), size2_(size2), interpolation_(interpolation) {} in size1_() 67 InterpolationMode interpolation_; variable
|
D | random_rotation_op.cc | 40 interpolation_(resample), in RandomRotationOp() 61 return Rotate(input, output, center_, degree, interpolation_, expand_, fill_r_, fill_g_, fill_b_); in Compute()
|
D | affine_op.cc | 45 interpolation_(interpolation), in AffineOp() 95 …RETURN_IF_NOT_OK(Affine(input, output, matrix, interpolation_, fill_value_[0], fill_value_[1], fil… in Compute()
|
D | random_resize_with_bbox_op.cc | 28 interpolation_ = static_cast<InterpolationMode>(distribution_(random_generator_)); in Compute()
|
D | random_crop_and_resize_op.cc | 40 interpolation_(interpolation), in RandomCropAndResizeOp() 76 target_width_, interpolation_)); in Compute()
|
D | affine_op.h | 56 InterpolationMode interpolation_; variable
|
D | random_rotation_op.h | 73 InterpolationMode interpolation_; variable
|
D | random_crop_and_resize_with_bbox_op.cc | 49 interpolation_)); in Compute()
|
D | rotate_op.h | 64 InterpolationMode interpolation_; variable
|
D | random_crop_and_resize_op.h | 75 InterpolationMode interpolation_; variable
|
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/api/ |
D | vision.cc | 103 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 …]
|