Home
last modified time | relevance | path

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

123

/third_party/mindspore/tests/ut/python/dataset/
Dtest_random_crop_and_resize.py46 decode_op = c_vision.Decode()
47 img = decode_op(img)
64 decode_op = c_vision.Decode()
67 data1 = data1.map(operations=decode_op, input_columns=["image"])
72 data2 = data2.map(operations=decode_op, input_columns=["image"])
164 decode_op = c_vision.Decode()
166 data1 = data1.map(operations=decode_op, input_columns=["image"])
200 decode_op = c_vision.Decode()
202 data1 = data1.map(operations=decode_op, input_columns=["image"])
235 decode_op = c_vision.Decode()
[all …]
Dtest_cache_nomap.py144 decode_op = c_vision.Decode()
145 ds1 = ds1.map(operations=decode_op, input_columns=["image"])
199 decode_op = c_vision.Decode()
201 ds1 = ds1.map(operations=decode_op, input_columns=["image"], cache=some_cache)
241 decode_op = c_vision.Decode()
242 ds1 = ds1.map(operations=decode_op, input_columns=["image"])
285 decode_op = c_vision.Decode()
286 ds1 = ds1.map(operations=decode_op, input_columns=["image"])
325 decode_op = c_vision.Decode()
326 ds1 = ds1.map(operations=decode_op, input_columns=["image"])
[all …]
Dtest_cache_map.py65 decode_op = c_vision.Decode()
66 ds1 = ds1.map(operations=decode_op, input_columns=["image"])
99 decode_op = c_vision.Decode()
100 ds1 = ds1.map(operations=decode_op, input_columns=["image"], cache=some_cache)
123 decode_op = c_vision.Decode()
125 ds1 = ds1.map(operations=decode_op, input_columns=["image"])
164 decode_op = c_vision.Decode()
166 data = data.map(input_columns=["image"], operations=decode_op)
234 decode_op = c_vision.Decode()
235 ds1 = ds1.map(operations=decode_op, input_columns=["image"], cache=some_cache)
[all …]
Dtest_random_crop.py46 decode_op = c_vision.Decode()
48 data1 = data1.map(operations=decode_op, input_columns=["image"])
53 data2 = data2.map(operations=decode_op, input_columns=["image"])
113 decode_op = c_vision.Decode()
114 data = data.map(operations=decode_op, input_columns=["image"])
162 decode_op = c_vision.Decode()
163 data = data.map(operations=decode_op, input_columns=["image"])
211 decode_op = c_vision.Decode()
212 data = data.map(operations=decode_op, input_columns=["image"])
258 decode_op = c_vision.Decode()
[all …]
Dtest_random_horizontal_flip.py53 decode_op = c_vision.Decode()
55 data1 = data1.map(operations=decode_op, input_columns=["image"])
60 data2 = data2.map(operations=decode_op, input_columns=["image"])
92 decode_op = c_vision.Decode()
94 data = data.map(operations=decode_op, input_columns=["image"])
139 decode_op = c_vision.Decode()
143 data = data.map(operations=decode_op, input_columns=["image"])
180 decode_op = c_vision.Decode()
183 data1 = data1.map(operations=decode_op, input_columns=["image"])
222 decode_op = c_vision.Decode()
[all …]
Dtest_random_vertical_flip.py53 decode_op = c_vision.Decode()
55 data1 = data1.map(operations=decode_op, input_columns=["image"])
60 data2 = data2.map(operations=decode_op, input_columns=["image"])
92 decode_op = c_vision.Decode()
94 data = data.map(operations=decode_op, input_columns=["image"])
139 decode_op = c_vision.Decode()
143 data = data.map(operations=decode_op, input_columns=["image"])
180 decode_op = c_vision.Decode()
183 data1 = data1.map(operations=decode_op, input_columns=["image"])
222 decode_op = c_vision.Decode()
[all …]
Dtest_random_resize.py38 decode_op = vision.Decode()
42 data1 = data1.map(operations=decode_op, input_columns=["image"])
69 decode_op = vision.Decode()
71 data = data.map(operations=decode_op, input_columns=["image"])
91 decode_op = vision.Decode()
93 data = data.map(operations=decode_op, input_columns=["image"])
94 data = data.map(operations=decode_op, input_columns=["image_copy"])
Dtest_rescale_op.py43 decode_op = vision.Decode()
44 data1 = data1.map(operations=decode_op, input_columns=["image"])
63 decode_op = vision.Decode()
67 data1 = data1.map(operations=decode_op, input_columns=["image"])
93 decode_op = vision.Decode()
97 data = data.map(operations=decode_op, input_columns=["image"])
Dtest_pad.py40 decode_op = c_vision.Decode()
43 ctrans = [decode_op,
82 decode_op = c_vision.Decode()
85 ctrans = [decode_op, resize_op, pad_op]
124 decode_op = c_vision.Decode()
127 ctrans = [decode_op, pad_gray]
150 decode_op = c_vision.Decode()
152 ctrans = [decode_op,
Dtest_HWC2CHW.py64 decode_op = c_vision.Decode()
66 data1 = data1.map(operations=decode_op, input_columns=["image"])
71 data2 = data2.map(operations=decode_op, input_columns=["image"])
98 decode_op = c_vision.Decode()
100 data1 = data1.map(operations=decode_op, input_columns=["image"])
116 decode_op = c_vision.Decode()
118 data1 = data1.map(operations=decode_op, input_columns=["image"])
Dtest_deviceop_cpu.py53 decode_op = vision.Decode()
57 data = data.map(operations=decode_op, input_columns=["image"])
78 decode_op = vision.Decode()
82 data = data.map(operations=decode_op, input_columns=["image"])
106 decode_op = vision.Decode()
110 data = data.map(operations=decode_op, input_columns=["image"])
Dtest_center_crop.py40 decode_op = vision.Decode()
43 data1 = data1.map(operations=decode_op, input_columns=["image"])
48 data2 = data2.map(operations=decode_op, input_columns=["image"])
68 decode_op = vision.Decode()
71 data1 = data1.map(operations=decode_op, input_columns=["image"])
86 decode_op = vision.Decode()
88 data1 = data1.map(operations=decode_op, input_columns=["image"])
Dtest_config.py131 decode_op = c_vision.Decode()
132 data1 = data1.map(operations=decode_op, input_columns=["image"])
137 data2 = data2.map(operations=decode_op, input_columns=["image"])
171 decode_op = c_vision.Decode()
172 data1 = data1.map(operations=decode_op, input_columns=["image"])
177 data2 = data2.map(operations=decode_op, input_columns=["image"])
211 decode_op = c_vision.Decode()
212 data1 = data1.map(operations=decode_op, input_columns=["image"])
217 data2 = data2.map(operations=decode_op, input_columns=["image"])
246 decode_op = c_vision.Decode()
[all …]
Dtest_random_rotation.py44 decode_op = c_vision.Decode()
47 data1 = data1.map(operations=decode_op, input_columns=["image"])
52 data2 = data2.map(operations=decode_op, input_columns=["image"])
136 decode_op = c_vision.Decode()
139 data1 = data1.map(operations=decode_op, input_columns=["image"])
159 decode_op = c_vision.Decode()
165 data1 = data1.map(operations=decode_op, input_columns=["image"])
198 decode_op = c_vision.Decode()
201 ctrans = [decode_op,
Dtest_resize.py42 decode_op = vision.Decode()
46 data1 = data1.map(operations=decode_op, input_columns=["image"])
71 decode_op = py_vision.Decode()
75 …data1 = data1.map(operations=[decode_op, resize_op, py_vision.ToTensor()], input_columns=["image"])
93 decode_op = vision.Decode()
95 data1 = data1.map(operations=decode_op, input_columns=["image"])
Dtest_rotate.py39 decode_op = c_vision.Decode()
41 dataset1 = dataset1.map(operations=decode_op, input_columns=["image"])
46 dataset2 = dataset2.map(operations=decode_op, input_columns=["image"])
72 decode_op = c_vision.Decode()
75 dataset = dataset.map(operations=decode_op, input_columns=["image"])
Dtest_normalizeOp.py50 decode_op = c_vision.Decode()
54 data = data.map(operations=decode_op, input_columns=["image"])
97 decode_op = c_vision.Decode()
102 data1 = data1.map(operations=decode_op, input_columns=["image"])
107 data2 = data2.map(operations=decode_op, input_columns=["image"])
171 decode_op = c_vision.Decode()
174 data1 = data1.map(operations=decode_op, input_columns=["image"])
193 decode_op = c_vision.Decode()
197 data1 = data1.map(operations=[decode_op, normalize_op], input_columns=["image"])
Dtest_cut_out.py53 decode_op = c.Decode()
57 decode_op,
100 decode_op = c.Decode()
104 decode_op,
140 decode_op = c.Decode()
142 data1 = data1.map(operations=decode_op, input_columns=["image"])
Dtest_type_cast.py40 decode_op = c_vision.Decode()
44 ctrans = [decode_op,
81 decode_op = c_vision.Decode()
85 ctrans = [decode_op,
Dtest_vertical_flip.py39 decode_op = c_vision.Decode()
41 dataset1 = dataset1.map(operations=decode_op, input_columns=["image"])
46 dataset2 = dataset2.map(operations=decode_op, input_columns=["image"])
Dtest_horizontal_flip.py39 decode_op = c_vision.Decode()
41 dataset1 = dataset1.map(operations=decode_op, input_columns=["image"])
46 dataset2 = dataset2.map(operations=decode_op, input_columns=["image"])
Dtest_soft_dvpp.py35 decode_op = vision.Decode()
37 data1 = data1.map(operations=[decode_op, resize_op], input_columns=["image"])
98 decode_op = vision.Decode()
100 data1 = data1.map(operations=[decode_op, resize_op], input_columns=["image"])
Dtest_normalizepad_op.py54 decode_op = c_vision.Decode()
59 data1 = data1.map(operations=decode_op, input_columns=["image"])
64 data2 = data2.map(operations=decode_op, input_columns=["image"])
128 decode_op = c_vision.Decode()
132 data1 = data1.map(operations=[decode_op, normalizepad_op], input_columns=["image"])
Dtest_convertcolor.py37 decode_op = c_vision.Decode()
39 dataset1 = dataset1.map(operations=decode_op, input_columns=["image"])
44 dataset2 = dataset2.map(operations=decode_op, input_columns=["image"])
Dtest_gaussian_blur.py39 decode_op = c_vision.Decode()
41 dataset1 = dataset1.map(operations=decode_op, input_columns=["image"])
46 dataset2 = dataset2.map(operations=decode_op, input_columns=["image"])

123