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/ |
D | bindings.cc | 164 … 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/ |
D | py_transforms_util.py | 129 def random_apply(img, transforms, prob): function
|
D | py_transforms.py | 262 return util.random_apply(img, self.transforms, self.prob)
|
/third_party/mindspore/tests/ut/cpp/dataset/ |
D | c_api_transforms_test.cc | 1756 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()
|