Home
last modified time | relevance | path

Searched refs:RandomCrop (Results 1 – 25 of 25) sorted by relevance

/third_party/mindspore/tests/ut/python/dataset/
Dtest_random_crop.py45 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 …]
Dtest_uniform_augment.py43 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]),
Dtest_config.py130 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]),
Dtest_random_order.py79 transforms_list = [py_vision.RandomCrop(64), py_vision.RandomRotation(30)]
Dtest_random_apply.py111 py_vision.RandomCrop(100), # crop size > image size
Dtest_random_choice.py119 transforms_list = [py_vision.RandomCrop(5000)]
Dtest_serdes_dataset.py162 vision.RandomCrop((32, 32), (4, 4, 4, 4)),
340 random_crop_op = vision.RandomCrop([512, 512], [200, 200, 200, 200])
Dtest_bounding_box_augment.py88 test_op = c_vision.BoundingBoxAugment(c_vision.RandomCrop(50), 0.9)
Dtest_cache_map.py163 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])
Dtest_cache_nomap.py2167 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/
Dc_api_vision_uniform_aug_test.cc46 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()
Dc_api_vision_affine_test.cc42 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()
Dc_api_vision_random_test.cc292 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/
Dvision.h379 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/
Dtest_resnet_cifar_1p.py53 random_crop_op = vision.RandomCrop(
Dresnet_cifar.py78 random_crop_op = vision.RandomCrop((32, 32), (4, 4, 4, 4)) # padding_mode default CONSTANT
Dtest_resnet_cifar_8p.py64 random_crop_op = vision.RandomCrop(
/third_party/mindspore/tests/st/mem_reuse/
Dresnet_cifar_memreuse.py77 random_crop_op = vision.RandomCrop((32, 32), (4, 4, 4, 4)) # padding_mode default CONSTANT
Dresnet_cifar_normal.py77 random_crop_op = vision.RandomCrop((32, 32), (4, 4, 4, 4)) # padding_mode default CONSTANT
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/api/
Dvision.cc516 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/
Dtest_pynative_resnet50_gpu.py320 random_crop_op = vision.RandomCrop((32, 32), (4, 4, 4, 4)) # padding_mode default CONSTANT
Dtest_pynative_resnet50_ascend.py358 random_crop_op = vision.RandomCrop((32, 32), (4, 4, 4, 4)) # padding_mode default CONSTANT
/third_party/mindspore/mindspore/dataset/vision/
Dpy_transforms.py366 class RandomCrop(py_transforms.PyTensorOperation): class
Dc_transforms.py859 class RandomCrop(ImageTensorOperation): class
/third_party/mindspore/
DRELEASE.md66 …following tensor operations to handle multiple columns simultaneously: RandomCrop, RandomHorizonta…