Home
last modified time | relevance | path

Searched refs:RandomResizedCrop (Results 1 – 11 of 11) sorted by relevance

/third_party/mindspore/tests/ut/python/dataset/
Dtest_random_crop_and_resize.py51 random_crop_and_resize_op1 = c_vision.RandomResizedCrop((256, 512), (2, 2), (1, 3))
66 random_crop_and_resize_op = c_vision.RandomResizedCrop((256, 512), (2, 2), (1, 3))
102 py_vision.RandomResizedCrop((256, 512), (2, 2), (1, 3)),
144 py_vision.RandomResizedCrop((256, 512), (2, 2), (1, 3), Inter.ANTIALIAS),
165 random_crop_and_resize_op = c_vision.RandomResizedCrop((256, 512), (0.5, 0.5), (1, 1))
173 py_vision.RandomResizedCrop((256, 512), (0.5, 0.5), (1, 1)),
201 …random_crop_and_resize_op = c_vision.RandomResizedCrop((256, 512), interpolation=mode.Inter.NEARES…
209 py_vision.RandomResizedCrop((256, 512), interpolation=mode.Inter.NEAREST),
236 random_crop_and_resize_op = c_vision.RandomResizedCrop((256, 512), max_attempts=1)
244 py_vision.RandomResizedCrop((256, 512), max_attempts=1),
[all …]
Dtest_compose.py238 test_config(py_transforms.RandomApply([c_vision.RandomResizedCrop(200)]))
242 test_config(py_transforms.RandomChoice([c_vision.RandomResizedCrop(200)]))
246 test_config(py_transforms.RandomOrder([np.array, c_vision.RandomResizedCrop(200)]))
Dtest_random_crop_decode_resize.py44 random_crop_resize_op = vision.RandomResizedCrop((256, 512), (1, 1), (0.5, 0.5))
/third_party/mindspore/tests/ut/cpp/dataset/
Dir_tensor_op_fusion_pass_test.cc43 std::shared_ptr<TensorTransform> random_resized_crop(new vision::RandomResizedCrop({5})); in TEST_F()
74 std::shared_ptr<TensorTransform> random_resized_crop(new vision::RandomResizedCrop({5})); in TEST_F()
Doptimization_pass_test.cc77 auto random_resized_crop_op = vision::RandomResizedCrop({100}); in TEST_F()
Dc_api_vision_random_test.cc1030 std::shared_ptr<TensorTransform> random_resized_crop(new vision::RandomResizedCrop({5})); in TEST_F()
1069 std::shared_ptr<TensorTransform> random_resized_crop(new vision::RandomResizedCrop( in TEST_F()
1109 std::shared_ptr<TensorTransform> random_resized_crop(new vision::RandomResizedCrop({5, -10})); in TEST_F()
1129 …std::shared_ptr<TensorTransform> random_resized_crop(new vision::RandomResizedCrop({5, 10}, {4, 3}… in TEST_F()
1149 …std::shared_ptr<TensorTransform> random_resized_crop(new vision::RandomResizedCrop({5, 10}, {4, 5}… in TEST_F()
1169 …std::shared_ptr<TensorTransform> random_resized_crop(new vision::RandomResizedCrop({5, 10, 20}, {4… in TEST_F()
1747 …std::shared_ptr<TensorTransform> random_crop_decode_resize(new vision::RandomResizedCrop({500, 500… in TEST_F()
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/include/dataset/
Dvision.h606 class RandomResizedCrop final : public TensorTransform {
625 explicit RandomResizedCrop(std::vector<int32_t> size, std::vector<float> scale = {0.08, 1.0},
630 ~RandomResizedCrop() = default;
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/api/
Dvision.cc646 struct RandomResizedCrop::Data {
657 RandomResizedCrop::RandomResizedCrop(std::vector<int32_t> size, std::vector<float> scale, std::vect… in RandomResizedCrop() function in mindspore::dataset::vision::RandomResizedCrop
661 std::shared_ptr<TensorOperation> RandomResizedCrop::Parse() { in Parse()
/third_party/mindspore/mindspore/dataset/vision/
Dpy_transforms.py549 class RandomResizedCrop(py_transforms.PyTensorOperation): class
Dc_transforms.py1125 class RandomResizedCrop(ImageTensorOperation): class
/third_party/mindspore/
DRELEASE.md66 …mns simultaneously: RandomCrop, RandomHorizontalFlip, RandomResize, RandomResizedCrop, RandomVerti…