a6f63f9d910d93d5cf3a2d016a0ed2b925f9eb9f,python/src/nnabla/utils/image_utils/cv2_utils.py,,imresize,#Any#Any#Any#Any#,81
Before Change
resized = cv2.resize(img, size, interpolation=interpolation)
if channel_first and len(img.shape) == 3:
resized = resized.transpose((2, 0, 1))
return resized
After Change
img, size, interpolation=interpolations_map[interpolate])
if expand_flag:
resized = np.expand_dims(resized, axis=-1)
return _imresize_after(resized, channel_first).astype(dtype)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: sony/nnabla
Commit Name: a6f63f9d910d93d5cf3a2d016a0ed2b925f9eb9f
Time: 2018-11-19
Author: Akio.Hayakawa@sony.com
File Name: python/src/nnabla/utils/image_utils/cv2_utils.py
Class Name:
Method Name: imresize
Project Name: tensorpack/tensorpack
Commit Name: c9fde6302a11a06acf53a378adf18a2a579276fe
Time: 2019-07-28
Author: ppwwyyxxc@gmail.com
File Name: tensorpack/dataflow/imgaug/misc.py
Class Name: Transpose
Method Name: _augment
Project Name: dmnfarrell/pandastable
Commit Name: 0aa8c743879b7fee780a1242e2dad5342decf502
Time: 2015-09-06
Author: farrell.damien@gmail.com
File Name: pandastable/data.py
Class Name: TableModel
Method Name: transpose