Home
last modified time | relevance | path

Searched refs:ResizeWithBBoxOperation (Results 1 – 8 of 8) sorted by relevance

/third_party/mindspore/mindspore/ccsrc/minddata/dataset/kernels/ir/vision/
Dresize_with_bbox_ir.cc31 ResizeWithBBoxOperation::ResizeWithBBoxOperation(const std::vector<int32_t> &size, InterpolationMod… in ResizeWithBBoxOperation() function in mindspore::dataset::vision::ResizeWithBBoxOperation
34 ResizeWithBBoxOperation::~ResizeWithBBoxOperation() = default;
36 std::string ResizeWithBBoxOperation::Name() const { return kResizeWithBBoxOperation; } in Name()
38 Status ResizeWithBBoxOperation::ValidateParams() { in ValidateParams()
51 std::shared_ptr<TensorOp> ResizeWithBBoxOperation::Build() { in Build()
67 Status ResizeWithBBoxOperation::to_json(nlohmann::json *out_json) { in to_json()
75 Status ResizeWithBBoxOperation::from_json(nlohmann::json op_params, std::shared_ptr<TensorOperation… in from_json()
80 *operation = std::make_shared<vision::ResizeWithBBoxOperation>(size, interpolation); in from_json()
Dresize_with_bbox_ir.h38 class ResizeWithBBoxOperation : public TensorOperation {
40 …explicit ResizeWithBBoxOperation(const std::vector<int32_t> &size, InterpolationMode interpolation…
42 ~ResizeWithBBoxOperation();
/third_party/mindspore/tests/ut/cpp/dataset/
Dir_vision_test.cc280 new vision::ResizeWithBBoxOperation({10, -10}, InterpolationMode::kLinear)); in TEST_F()
287 new vision::ResizeWithBBoxOperation({-10}, InterpolationMode::kLinear)); in TEST_F()
294 new vision::ResizeWithBBoxOperation({0, 10}, InterpolationMode::kLinear)); in TEST_F()
301 new vision::ResizeWithBBoxOperation({10, 10, 10}, InterpolationMode::kLinear)); in TEST_F()
Ddeserialize_test.cc124 …std::shared_ptr<TensorOperation> operation13 = std::make_shared<vision::ResizeWithBBoxOperation>(s… in TEST_F()
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/api/python/bindings/dataset/kernels/ir/image/
Dbindings.cc549 PYBIND_REGISTER(ResizeWithBBoxOperation, 1, ([](const py::module *m) { in __anon682838b25002()
550 (void)py::class_<vision::ResizeWithBBoxOperation, TensorOperation, in __anon682838b25002()
551 … std::shared_ptr<vision::ResizeWithBBoxOperation>>(*m, "ResizeWithBBoxOperation") in __anon682838b25002()
554 std::make_shared<vision::ResizeWithBBoxOperation>(size, interpolation_mode); in __anon682838b25002()
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/engine/
Dserdes.cc311 ops_ptr[vision::kResizeWithBBoxOperation] = &(vision::ResizeWithBBoxOperation::from_json); in InitializeFuncPtr()
/third_party/mindspore/mindspore/dataset/vision/
Dc_transforms.py1598 return cde.ResizeWithBBoxOperation(size, DE_C_INTER_MODE[self.interpolation])
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/api/
Dvision.cc925 return std::make_shared<ResizeWithBBoxOperation>(data_->size_, data_->interpolation_); in Parse()