Searched refs:decode_op (Results 1 – 25 of 56) sorted by relevance
123
/third_party/mindspore/tests/ut/python/dataset/ |
D | test_random_crop_and_resize.py | 46 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 …]
|
D | test_cache_nomap.py | 144 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 …]
|
D | test_cache_map.py | 65 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 …]
|
D | test_random_crop.py | 46 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 …]
|
D | test_random_horizontal_flip.py | 53 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 …]
|
D | test_random_vertical_flip.py | 53 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 …]
|
D | test_random_resize.py | 38 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"])
|
D | test_rescale_op.py | 43 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"])
|
D | test_pad.py | 40 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,
|
D | test_HWC2CHW.py | 64 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"])
|
D | test_deviceop_cpu.py | 53 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"])
|
D | test_center_crop.py | 40 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"])
|
D | test_config.py | 131 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 …]
|
D | test_random_rotation.py | 44 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,
|
D | test_resize.py | 42 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"])
|
D | test_rotate.py | 39 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"])
|
D | test_normalizeOp.py | 50 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"])
|
D | test_cut_out.py | 53 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"])
|
D | test_type_cast.py | 40 decode_op = c_vision.Decode() 44 ctrans = [decode_op, 81 decode_op = c_vision.Decode() 85 ctrans = [decode_op,
|
D | test_vertical_flip.py | 39 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"])
|
D | test_horizontal_flip.py | 39 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"])
|
D | test_soft_dvpp.py | 35 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"])
|
D | test_normalizepad_op.py | 54 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"])
|
D | test_convertcolor.py | 37 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"])
|
D | test_gaussian_blur.py | 39 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