Searched refs:RandomCropWithBBox (Results 1 – 5 of 5) sorted by relevance
/third_party/mindspore/tests/ut/python/dataset/ |
D | test_random_crop_with_bbox.py | 46 test_op = c_vision.RandomCropWithBBox([512, 512], [200, 200, 200, 200]) 77 test_op = c_vision.RandomCropWithBBox([512, 512], [200, 200, 200, 200]) 108 test_op = c_vision.RandomCropWithBBox(512, [200, 200, 200, 200], fill_value=(255, 255, 255)) 145 test_op = c_vision.RandomCropWithBBox(512, [200, 200, 200, 200], padding_mode=mode.Border.EDGE) 175 test_op = c_vision.RandomCropWithBBox(512, [200, 200, 200, 200], padding_mode=mode.Border.EDGE) 213 test_op = c_vision.RandomCropWithBBox([512, 512, 375]) 232 test_op = c_vision.RandomCropWithBBox([512, 512], [200, 200, 200, 200]) 253 test_op = c_vision.RandomCropWithBBox([512, 512], padding=-1) 266 …test_op = c_vision.RandomCropWithBBox([512, 512], padding=[16777216, 16777216, 16777216, 16777216])
|
/third_party/mindspore/tests/ut/cpp/dataset/ |
D | c_api_vision_random_test.cc | 500 …std::shared_ptr<TensorTransform> random_crop(new mindspore::dataset::vision::RandomCropWithBBox({1… in TEST_F() 540 std::shared_ptr<TensorTransform> random_crop1(new vision::RandomCropWithBBox({-10})); in TEST_F() 550 …std::shared_ptr<TensorTransform> random_crop2(new vision::RandomCropWithBBox({10, 10}, {-2, 2, 2, … in TEST_F() 560 std::shared_ptr<TensorTransform> random_crop3(new vision::RandomCropWithBBox({})); in TEST_F() 570 std::shared_ptr<TensorTransform> random_crop4(new vision::RandomCropWithBBox({10, 10, 10})); in TEST_F() 580 std::shared_ptr<TensorTransform> random_crop5(new vision::RandomCropWithBBox({10, 10}, {})); in TEST_F() 590 …std::shared_ptr<TensorTransform> random_crop6(new vision::RandomCropWithBBox({10, 10}, {5, 5, 5, 5… in TEST_F() 600 …std::shared_ptr<TensorTransform> random_crop7(new vision::RandomCropWithBBox({10, 10}, {5, 5, 5, 5… in TEST_F() 611 new vision::RandomCropWithBBox({10, 10}, {5, 5, 5, 5}, false, {3, 3, 3, 3})); in TEST_F()
|
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/include/dataset/ |
D | vision.h | 459 class RandomCropWithBBox final : public TensorTransform { 482 …explicit RandomCropWithBBox(std::vector<int32_t> size, std::vector<int32_t> padding = {0, 0, 0, 0}, 487 ~RandomCropWithBBox() = default;
|
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/api/ |
D | vision.cc | 563 struct RandomCropWithBBox::Data { 578 RandomCropWithBBox::RandomCropWithBBox(std::vector<int32_t> size, std::vector<int32_t> padding, boo… in RandomCropWithBBox() function in mindspore::dataset::vision::RandomCropWithBBox 582 std::shared_ptr<TensorOperation> RandomCropWithBBox::Parse() { in Parse()
|
/third_party/mindspore/mindspore/dataset/vision/ |
D | c_transforms.py | 990 class RandomCropWithBBox(ImageTensorOperation): class
|