Searched refs:ResizeWithBBoxOperation (Results 1 – 8 of 8) sorted by relevance
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/kernels/ir/vision/ |
D | resize_with_bbox_ir.cc | 31 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()
|
D | resize_with_bbox_ir.h | 38 class ResizeWithBBoxOperation : public TensorOperation { 40 …explicit ResizeWithBBoxOperation(const std::vector<int32_t> &size, InterpolationMode interpolation… 42 ~ResizeWithBBoxOperation();
|
/third_party/mindspore/tests/ut/cpp/dataset/ |
D | ir_vision_test.cc | 280 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()
|
D | deserialize_test.cc | 124 …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/ |
D | bindings.cc | 549 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/ |
D | serdes.cc | 311 ops_ptr[vision::kResizeWithBBoxOperation] = &(vision::ResizeWithBBoxOperation::from_json); in InitializeFuncPtr()
|
/third_party/mindspore/mindspore/dataset/vision/ |
D | c_transforms.py | 1598 return cde.ResizeWithBBoxOperation(size, DE_C_INTER_MODE[self.interpolation])
|
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/api/ |
D | vision.cc | 925 return std::make_shared<ResizeWithBBoxOperation>(data_->size_, data_->interpolation_); in Parse()
|