Home
last modified time | relevance | path

Searched refs:vertical_flip (Results 1 – 4 of 4) sorted by relevance

/third_party/mindspore/tests/ut/cpp/dataset/
Dc_api_vision_vertical_flip_test.cc37 std::shared_ptr<TensorTransform> vertical_flip(new vision::VerticalFlip()); in TEST_F() local
40 ds = ds->Map({vertical_flip}); in TEST_F()
79 auto vertical_flip = vision::VerticalFlip(); in TEST_F() local
81 auto transform = Execute({decode, vertical_flip}); in TEST_F()
/third_party/mindspore/tests/ut/python/dataset/
Dtest_ten_crop.py32 def util_test_ten_crop(crop_size, vertical_flip=False, plot=False): argument
48 vision.TenCrop(crop_size, use_vertical_flip=vertical_flip),
98 util_test_ten_crop(200, vertical_flip=True, plot=plot)
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/api/python/bindings/dataset/kernels/ir/image/
Dbindings.cc638 auto vertical_flip = std::make_shared<vision::VerticalFlipOperation>(); in __anon682838b25e02() local
639 THROW_IF_ERROR(vertical_flip->ValidateParams()); in __anon682838b25e02()
640 return vertical_flip; in __anon682838b25e02()
/third_party/mindspore/mindspore/dataset/vision/
Dpy_transforms_util.py191 def vertical_flip(img): function
243 img = vertical_flip(img)
795 img = vertical_flip(img)