Home
last modified time | relevance | path

Searched refs:RandomRotation (Results 1 – 13 of 13) sorted by relevance

/third_party/mindspore/tests/ut/cpp/dataset/
Dc_api_vision_bounding_box_augment_test.cc39 std::shared_ptr<TensorTransform> random_rotation_op(new vision::RandomRotation({90.0})); in TEST_F()
79 auto random_rotation_op(new vision::RandomRotation({90.0})); in TEST_F()
122 vision::RandomRotation random_rotation_op = vision::RandomRotation({90.0}); in TEST_F()
161 std::shared_ptr<TensorTransform> random_rotation_op(new vision::RandomRotation({90.0})); in TEST_F()
186 std::shared_ptr<TensorTransform> random_rotation_op(new vision::RandomRotation({90.0})); in TEST_F()
234 std::shared_ptr<TensorTransform> random_rotation_op(new vision::RandomRotation({50.0, -50.0})); in TEST_F()
Dc_api_vision_random_test.cc1355 std::shared_ptr<TensorTransform> random_rotation_op(new vision::RandomRotation({180})); in TEST_F()
1357 std::shared_ptr<TensorTransform> random_rotation_op1(new vision::RandomRotation({-180, 180})); in TEST_F()
1360 new vision::RandomRotation({180}, InterpolationMode::kNearestNeighbour, false, {-1, -1}, {2})); in TEST_F()
1363 …new vision::RandomRotation({180}, InterpolationMode::kNearestNeighbour, false, {-1, -1}, {2, 2, 2}… in TEST_F()
1406 std::shared_ptr<TensorTransform> random_rotation_op1(new vision::RandomRotation({})); in TEST_F()
1416 …std::shared_ptr<TensorTransform> random_rotation_op2(new vision::RandomRotation({-50.0, 50.0, 100.… in TEST_F()
1426 std::shared_ptr<TensorTransform> random_rotation_op3(new vision::RandomRotation({50.0, -50.0})); in TEST_F()
1437 …new vision::RandomRotation({-50.0, 50.0}, mindspore::dataset::InterpolationMode::kNearestNeighbour… in TEST_F()
1447 std::shared_ptr<TensorTransform> random_rotation_op5(new vision::RandomRotation( in TEST_F()
1458 std::shared_ptr<TensorTransform> random_rotation_op6(new vision::RandomRotation( in TEST_F()
[all …]
/third_party/mindspore/tests/ut/python/dataset/
Dtest_random_rotation.py46 random_rotation_op = c_vision.RandomRotation((90, 90), expand=True)
81 … py_vision.RandomRotation((90, 90), expand=True),
117 … py_vision.RandomRotation((90, 90),
138 random_rotation_op = c_vision.RandomRotation((0, 90), expand=True)
160 resize_op = c_vision.RandomRotation((0, 90),
171 … py_vision.RandomRotation((0, 90),
200 rotation_op = c_vision.RandomRotation((45, 45))
210 py_vision.RandomRotation((45, 45)),
Dtest_uniform_augment.py78 transform_list = [F.RandomRotation(45),
144 C.RandomRotation(degrees=45)]
183 C.RandomRotation(degrees=45),
203 C.RandomRotation(degrees=45)]
223 C.RandomRotation(degrees=45)]
243 C.RandomRotation(degrees=45)]
Dtest_random_apply.py38 transforms_list = [py_vision.CenterCrop(64), py_vision.RandomRotation(30)]
79 transforms_list = [py_vision.CenterCrop(64), py_vision.RandomRotation(30)]
112 py_vision.RandomRotation(30)]
Dtest_random_order.py38 transforms_list = [py_vision.CenterCrop(64), py_vision.RandomRotation(30)]
79 transforms_list = [py_vision.RandomCrop(64), py_vision.RandomRotation(30)]
Dtest_random_choice.py35 transforms_list = [py_vision.CenterCrop(64), py_vision.RandomRotation(30)]
Dtest_bounding_box_augment.py49 test_op = c_vision.BoundingBoxAugment(c_vision.RandomRotation(90), 1)
Dtest_serdes_dataset.py257 …random_rotation_op = vision.RandomRotation((0, 90), expand=True, resample=Inter.BILINEAR, center=(…
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/include/dataset/
Dvision.h680 class RandomRotation final : public TensorTransform {
696RandomRotation(std::vector<float> degrees, InterpolationMode resample = InterpolationMode::kNeares…
700 ~RandomRotation() = default;
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/api/
Dvision.cc689 struct RandomRotation::Data {
700 RandomRotation::RandomRotation(std::vector<float> degrees, InterpolationMode resample, bool expand, in RandomRotation() function in mindspore::dataset::vision::RandomRotation
704 std::shared_ptr<TensorOperation> RandomRotation::Parse() { in Parse()
/third_party/mindspore/mindspore/dataset/vision/
Dpy_transforms.py696 class RandomRotation(py_transforms.PyTensorOperation): class
Dc_transforms.py1298 class RandomRotation(ImageTensorOperation): class