Home
last modified time | relevance | path

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

123

/third_party/mindspore/tests/ut/python/dataset/
Dtest_resize.py22 from mindspore.dataset.vision.utils import Inter
72 resize_op = py_vision.Resize(20, Inter.ANTIALIAS)
126 … test_invalid_input("invalid size parameter type as a single number", 4.5, Inter.LINEAR, TypeError,
128 test_invalid_input("invalid size parameter shape", (2, 3, 4), Inter.LINEAR, TypeError,
130 test_invalid_input("invalid size parameter type in a tuple", (2.3, 3), Inter.LINEAR, TypeError,
Dtest_rotate.py23 from mindspore.dataset.vision.utils import Inter
106 _ = c_vision.Rotate(30, Inter.BICUBIC, False, (0, 0, 0))
111 _ = c_vision.Rotate(-120, Inter.NEAREST, False, (-1, -1), (255, 255))
Dtest_random_rotation.py25 from mindspore.dataset.vision.utils import Inter
119 … resample=Inter.ANTIALIAS),
162 resample=Inter.BILINEAR,
173 … resample=Inter.BILINEAR,
Dtest_random_perspective.py22 from mindspore.dataset.vision.utils import Inter
83 interpolation=Inter.BILINEAR),
Dtest_datasets_celeba.py17 from mindspore.dataset.vision import Inter
60 resize_op = vision.Resize(resize_size, Inter.LINEAR) # Bilinear mode
Dtest_repeat.py80 …_op = vision.Resize((resize_height, resize_width), interpolation=ds.transforms.vision.Inter.LINEAR)
263 …_op = vision.Resize((resize_height, resize_width), interpolation=ds.transforms.vision.Inter.LINEAR)
286 …_op = vision.Resize((resize_height, resize_width), interpolation=ds.transforms.vision.Inter.LINEAR)
Dtest_random_crop_and_resize.py27 from mindspore.dataset.vision.utils import Inter
144 py_vision.RandomResizedCrop((256, 512), (2, 2), (1, 3), Inter.ANTIALIAS),
201 …random_crop_and_resize_op = c_vision.RandomResizedCrop((256, 512), interpolation=mode.Inter.NEARES…
209 py_vision.RandomResizedCrop((256, 512), interpolation=mode.Inter.NEAREST),
Dtest_mixup_label_smoothing.py69 resize_op = c_vision.Resize((resize_height, resize_width), c_vision.Inter.LINEAR)
119 resize_op = c_vision.Resize((resize_height, resize_width), c_vision.Inter.LINEAR)
/third_party/mindspore/mindspore/dataset/vision/
Dc_transforms.py50 from .utils import Inter, Border, ImageBatchFormat, ConvertMode, SliceMode
86 DE_C_INTER_MODE = {Inter.NEAREST: cde.InterpolationMode.DE_INTER_NEAREST_NEIGHBOUR,
87 Inter.LINEAR: cde.InterpolationMode.DE_INTER_LINEAR,
88 Inter.CUBIC: cde.InterpolationMode.DE_INTER_CUBIC,
89 Inter.AREA: cde.InterpolationMode.DE_INTER_AREA,
90 Inter.PILCUBIC: cde.InterpolationMode.DE_INTER_PILCUBIC}
737 …def __init__(self, degrees, translate=None, scale=None, shear=None, resample=Inter.NEAREST, fill_v…
966 interpolation=Inter.BILINEAR, max_attempts=10):
1170 interpolation=Inter.BILINEAR, max_attempts=10):
1219 interpolation=Inter.BILINEAR, max_attempts=10):
[all …]
Dpy_transforms.py37 from .utils import Inter, Border
40 DE_PY_INTER_MODE = {Inter.NEAREST: Image.NEAREST,
41 Inter.ANTIALIAS: Image.ANTIALIAS,
42 Inter.LINEAR: Image.LINEAR,
43 Inter.CUBIC: Image.CUBIC}
531 def __init__(self, size, interpolation=Inter.BILINEAR):
587 interpolation=Inter.BILINEAR, max_attempts=10):
740 def __init__(self, degrees, resample=Inter.NEAREST, expand=False, center=None, fill_value=0):
1007 def __init__(self, distortion_scale=0.5, prob=0.5, interpolation=Inter.BICUBIC):
1248 …def __init__(self, degrees, translate=None, scale=None, shear=None, resample=Inter.NEAREST, fill_v…
D__init__.py30 from .utils import Inter, Border, ImageBatchFormat, SliceMode
Dutils.py20 class Inter(IntEnum): class
Dvalidators.py26 from .utils import Inter, Border, ImageBatchFormat, ConvertMode, SliceMode
252 type_check(interpolation, (Inter,), "interpolation")
306 type_check(interpolation, (Inter,), "interpolation")
425 type_check(resample, (Inter,), "resample")
544 type_check(interpolation, (Inter,), "interpolation")
722 type_check(resample, (Inter,), "resample")
/third_party/vk-gl-cts/doc/testspecs/GLES31/
Dfunctional.synchronization.txt29 + Inter-invocation synchronization
32 + Inter-call synchronization
37 - Inter-invocation synchronization without use of barrier()
48 Inter-invocation synchronization tests read and write to a coherent image or
/third_party/mindspore/tests/st/probability/bnn_layers/
Ddataset.py22 from mindspore.dataset.vision import Inter
41 … resize_op = CV.Resize((resize_height, resize_width), interpolation=Inter.LINEAR) # Bilinear mode
/third_party/mindspore/tests/st/probability/transforms/
Ddataset.py22 from mindspore.dataset.vision import Inter
41 … resize_op = CV.Resize((resize_height, resize_width), interpolation=Inter.LINEAR) # Bilinear mode
/third_party/mindspore/tests/st/summary/
Ddataset.py21 from mindspore.dataset.vision import Inter
36 … resize_op = CV.Resize((resize_height, resize_width), interpolation=Inter.LINEAR) # Bilinear mode
/third_party/mindspore/tests/st/quantization/lenet_quant/
Ddataset.py22 from mindspore.dataset.vision import Inter
41 … resize_op = CV.Resize((resize_height, resize_width), interpolation=Inter.LINEAR) # Bilinear mode
/third_party/mindspore/tests/st/probability/zhusuan/vae/
Dutils.py24 from mindspore.dataset.transforms.vision import Inter
48 interpolation=Inter.LINEAR)
/third_party/mindspore/tests/st/ops/ascend/
Dtest_tdt_data_ms.py24 from mindspore.dataset.vision import Inter
46 Inter.LINEAR) # Bilinear as default
/third_party/mindspore/tests/st/probability/toolbox/
Dtest_uncertainty.py23 from mindspore.dataset.vision import Inter
94 … resize_op = CV.Resize((resize_height, resize_width), interpolation=Inter.LINEAR) # Bilinear mode
/third_party/mindspore/tests/st/ps/full_ps/
Dtest_full_ps_lenet.py25 from mindspore.dataset.vision import Inter
103 … resize_op = CV.Resize((resize_height, resize_width), interpolation=Inter.LINEAR) # Bilinear mode
/third_party/mindspore/tests/st/ps/part_ps/
Dtest_ps_embedding_heterogeneous_conv2d_adam.py24 from mindspore.dataset.vision import Inter
97 interpolation=Inter.LINEAR) # Bilinear mode
/third_party/mindspore/tests/st/profiler/
Dtest_profiler.py29 from mindspore.dataset.vision import Inter
100 … resize_op = CV.Resize((resize_height, resize_width), interpolation=Inter.LINEAR) # Bilinear mode
/third_party/mindspore/tests/st/networks/
Dtest_gradient_accumulation.py13 from mindspore.dataset.vision import Inter
184 … resize_op = CV.Resize((resize_height, resize_width), interpolation=Inter.LINEAR) # Bilinear mode

123