Home
last modified time | relevance | path

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

/third_party/mindspore/mindspore/ccsrc/minddata/dataset/api/python/bindings/dataset/kernels/ir/
Dbindings.cc164 … auto random_apply = std::make_shared<transforms::RandomApplyOperation>(std::move(t_ops), prob); in __anon360f34601402() local
165 THROW_IF_ERROR(random_apply->ValidateParams()); in __anon360f34601402()
166 return random_apply; in __anon360f34601402()
/third_party/mindspore/mindspore/dataset/transforms/
Dpy_transforms_util.py129 def random_apply(img, transforms, prob): function
Dpy_transforms.py262 return util.random_apply(img, self.transforms, self.prob)
/third_party/mindspore/tests/ut/cpp/dataset/
Dc_api_transforms_test.cc1756 auto random_apply = transforms::RandomApply({resize_op}, 0.8); in TEST_F() local
1759 ds = ds->Map({random_apply}, {"image"}); in TEST_F()
1799 auto random_apply = transforms::RandomApply({decode_op, resize_op}); in TEST_F() local
1802 ds = ds->Map({random_apply}, {"image"}); in TEST_F()
1820 std::shared_ptr<TensorTransform> random_apply(new transforms::RandomApply({decode_op, nullptr})); in TEST_F() local
1823 ds = ds->Map({random_apply}, {"image"}); in TEST_F()
1841 auto random_apply = transforms::RandomApply({resize_op}, -1); in TEST_F() local
1844 ds = ds->Map({random_apply}, {"image"}); in TEST_F()
1862 auto random_apply = transforms::RandomApply(list); in TEST_F() local
1865 ds = ds->Map({random_apply}, {"image"}); in TEST_F()