3e07cdecb8d7eea947304fae062ed0e64b519052,dl_api/images.py,Image,resize,#Image#Any#Any#Any#,303
Before Change
else:
Image_new = Image(sess)
Image_new.path = self.path
CASTable_name = random_name()
Image_new.tbl = dict(name=CASTable_name)
sess.processimages(
imageTable=image_table,
casout=dict(**Image_new.tbl, replace=True),
imagefunctions=[dict(functionoptions=
After Change
if (width is None) and (height is None):
width = 224
if width is None:
width = height
if height is None:
height = width
image_table = self.tbl
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 5
Instances
Project Name: sassoftware/python-dlpy
Commit Name: 3e07cdecb8d7eea947304fae062ed0e64b519052
Time: 2017-07-07
Author: leo.liu@sas.com
File Name: dl_api/images.py
Class Name: Image
Method Name: resize
Project Name: sassoftware/python-dlpy
Commit Name: 3e07cdecb8d7eea947304fae062ed0e64b519052
Time: 2017-07-07
Author: leo.liu@sas.com
File Name: dl_api/images.py
Class Name: Image
Method Name: crop
Project Name: elfi-dev/elfi
Commit Name: adc44ac9867933e9c237c18300fde5ed6c60a9be
Time: 2017-07-13
Author: jarno.lintusaari@aalto.fi
File Name: elfi/model/elfi_model.py
Class Name: ElfiModel
Method Name: __init__