/third_party/mindspore/tests/ut/python/dataset/ |
D | test_random_crop.py | 45 random_crop_op = c_vision.RandomCrop([512, 512], [200, 200, 200, 200]) 75 py_vision.RandomCrop([512, 512], [200, 200, 200, 200]), 112 random_crop_op = c_vision.RandomCrop(512) 137 py_vision.RandomCrop(512), 161 random_crop_op = c_vision.RandomCrop([512, 375]) 186 py_vision.RandomCrop([512, 375]), 210 random_crop_op = c_vision.RandomCrop([2268, 4032]) 235 py_vision.RandomCrop([2268, 4032]), 257 random_crop_op = c_vision.RandomCrop([2268, 4033]) 279 py_vision.RandomCrop([2268, 4033]), [all …]
|
D | test_uniform_augment.py | 43 transforms_ua = [C.RandomCrop(size=[400, 400], padding=[32, 32, 32, 32]), 44 C.RandomCrop(size=[400, 400], padding=[32, 32, 32, 32])] 140 transforms_ua = [C.RandomCrop(size=[224, 224], padding=[32, 32, 32, 32]), 179 transforms_ua = [C.RandomCrop(size=[224, 224], padding=[32, 32, 32, 32]), 199 transforms_ua = [C.RandomCrop(size=[224, 224], padding=[32, 32, 32, 32]), 219 transforms_ua = [C.RandomCrop(size=[224, 224], padding=[32, 32, 32, 32]), 239 transforms_ua = [C.RandomCrop(size=[224, 224], padding=[32, 32, 32, 32]), 264 C.RandomCrop(size=[224, 224]),
|
D | test_config.py | 130 random_crop_op = c_vision.RandomCrop([512, 512], [200, 200, 200, 200]) 170 random_crop_op = c_vision.RandomCrop([512, 512], [200, 200, 200, 200]) 180 random_crop_op2 = c_vision.RandomCrop([512, 512], [200, 200, 200, 200]) 210 random_crop_op = c_vision.RandomCrop([512, 512], [200, 200, 200, 200]) 219 random_crop_op2 = c_vision.RandomCrop([512, 512], [200, 200, 200, 200]) 282 py_vision.RandomCrop([512, 512], [200, 200, 200, 200]), 334 py_vision.RandomCrop([512, 512], [200, 200, 200, 200]),
|
D | test_random_order.py | 79 transforms_list = [py_vision.RandomCrop(64), py_vision.RandomRotation(30)]
|
D | test_random_apply.py | 111 py_vision.RandomCrop(100), # crop size > image size
|
D | test_random_choice.py | 119 transforms_list = [py_vision.RandomCrop(5000)]
|
D | test_serdes_dataset.py | 162 vision.RandomCrop((32, 32), (4, 4, 4, 4)), 340 random_crop_op = vision.RandomCrop([512, 512], [200, 200, 200, 200])
|
D | test_bounding_box_augment.py | 88 test_op = c_vision.BoundingBoxAugment(c_vision.RandomCrop(50), 0.9)
|
D | test_cache_map.py | 163 random_crop_op = c_vision.RandomCrop([512, 512], [200, 200, 200, 200]) 399 random_crop_op = c_vision.RandomCrop([512, 512], [200, 200, 200, 200])
|
D | test_cache_nomap.py | 2167 random_crop_op = c_vision.RandomCrop([512, 512], [200, 200, 200, 200]) 2257 ds2 = ds2.map(operations=[py_vision.Decode(), py_vision.RandomCrop(224), py_vision.ToTensor()],
|
/third_party/mindspore/tests/ut/cpp/dataset/ |
D | c_api_vision_uniform_aug_test.cc | 46 std::shared_ptr<TensorTransform> random_crop_op(new vision::RandomCrop({28, 28})); in TEST_F() 94 auto random_crop_op(new vision::RandomCrop({28, 28})); in TEST_F() 147 vision::RandomCrop random_crop_op = vision::RandomCrop({28, 28}); in TEST_F() 187 std::shared_ptr<TensorTransform> random_crop_op(new vision::RandomCrop({28, 28})); in TEST_F() 212 std::shared_ptr<TensorTransform> random_crop_op(new vision::RandomCrop({28, 28})); in TEST_F() 238 std::shared_ptr<TensorTransform> random_crop_op(new vision::RandomCrop({-28})); in TEST_F() 262 std::shared_ptr<TensorTransform> random_crop_op(new vision::RandomCrop({28})); in TEST_F()
|
D | c_api_vision_affine_test.cc | 42 std::shared_ptr<TensorTransform> crop(new vision::RandomCrop({256, 256})); in TEST_F() 85 std::shared_ptr<TensorTransform> crop(new vision::RandomCrop({256, 256})); in TEST_F()
|
D | c_api_vision_random_test.cc | 292 std::shared_ptr<TensorTransform> random_crop(new vision::RandomCrop({20})); in TEST_F() 295 std::shared_ptr<TensorTransform> random_crop1(new vision::RandomCrop({20, 20})); in TEST_F() 298 std::shared_ptr<TensorTransform> random_crop2(new vision::RandomCrop({20, 20}, {10})); in TEST_F() 301 std::shared_ptr<TensorTransform> random_crop3(new vision::RandomCrop({20, 20}, {10, 20})); in TEST_F() 304 std::shared_ptr<TensorTransform> random_crop4(new vision::RandomCrop({20, 20}, {10, 10, 10, 10})); in TEST_F() 307 …std::shared_ptr<TensorTransform> random_crop5(new vision::RandomCrop({20, 20}, {10, 10, 10, 10}, f… in TEST_F() 310 …std::shared_ptr<TensorTransform> random_crop6(new vision::RandomCrop({20, 20}, {10, 10, 10, 10}, f… in TEST_F() 349 …std::shared_ptr<TensorTransform> random_crop(new mindspore::dataset::vision::RandomCrop({500, 500}… in TEST_F() 392 std::shared_ptr<TensorTransform> random_crop1(new vision::RandomCrop({-28, 28})); in TEST_F() 402 std::shared_ptr<TensorTransform> random_crop2(new vision::RandomCrop({})); in TEST_F() [all …]
|
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/include/dataset/ |
D | vision.h | 379 class RandomCrop final : public TensorTransform { 403 explicit RandomCrop(std::vector<int32_t> size, std::vector<int32_t> padding = {0, 0, 0, 0}, 408 ~RandomCrop() = default;
|
/third_party/mindspore/tests/st/tbe_networks/ |
D | test_resnet_cifar_1p.py | 53 random_crop_op = vision.RandomCrop(
|
D | resnet_cifar.py | 78 random_crop_op = vision.RandomCrop((32, 32), (4, 4, 4, 4)) # padding_mode default CONSTANT
|
D | test_resnet_cifar_8p.py | 64 random_crop_op = vision.RandomCrop(
|
/third_party/mindspore/tests/st/mem_reuse/ |
D | resnet_cifar_memreuse.py | 77 random_crop_op = vision.RandomCrop((32, 32), (4, 4, 4, 4)) # padding_mode default CONSTANT
|
D | resnet_cifar_normal.py | 77 random_crop_op = vision.RandomCrop((32, 32), (4, 4, 4, 4)) # padding_mode default CONSTANT
|
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/api/ |
D | vision.cc | 516 struct RandomCrop::Data { 531 RandomCrop::RandomCrop(std::vector<int32_t> size, std::vector<int32_t> padding, bool pad_if_needed, in RandomCrop() function in mindspore::dataset::vision::RandomCrop 535 std::shared_ptr<TensorOperation> RandomCrop::Parse() { in Parse()
|
/third_party/mindspore/tests/st/pynative/ |
D | test_pynative_resnet50_gpu.py | 320 random_crop_op = vision.RandomCrop((32, 32), (4, 4, 4, 4)) # padding_mode default CONSTANT
|
D | test_pynative_resnet50_ascend.py | 358 random_crop_op = vision.RandomCrop((32, 32), (4, 4, 4, 4)) # padding_mode default CONSTANT
|
/third_party/mindspore/mindspore/dataset/vision/ |
D | py_transforms.py | 366 class RandomCrop(py_transforms.PyTensorOperation): class
|
D | c_transforms.py | 859 class RandomCrop(ImageTensorOperation): class
|
/third_party/mindspore/ |
D | RELEASE.md | 66 …following tensor operations to handle multiple columns simultaneously: RandomCrop, RandomHorizonta…
|