685250f5ee3ba20f6dd796a6730c9e8a0b450064,ssd/structures/container.py,Container,numpy,#Container#,25
Before Change
def numpy(self):
keys = list(self._data_dict.keys())
for key in keys:
value = self._data_dict[key]
if hasattr(value, "numpy"):
self._data_dict[key] = value.numpy()
return self
def resize(self, size):
resize boxes
After Change
return self._call("to", *args, **kwargs)
def numpy(self):
return self._call("numpy")
def resize(self, size):
resize boxes
Args:
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances
Project Name: lufficc/SSD
Commit Name: 685250f5ee3ba20f6dd796a6730c9e8a0b450064
Time: 2019-06-25
Author: luffy.lcc@gmail.com
File Name: ssd/structures/container.py
Class Name: Container
Method Name: numpy
Project Name: lufficc/SSD
Commit Name: 685250f5ee3ba20f6dd796a6730c9e8a0b450064
Time: 2019-06-25
Author: luffy.lcc@gmail.com
File Name: ssd/structures/container.py
Class Name: Container
Method Name: to
Project Name: scikit-learn-contrib/sklearn-pandas
Commit Name: 8c4af33256305cb317a9e5601a051214b7b1b22b
Time: 2013-09-19
Author: paulgb@gmail.com
File Name: sklearn_pandas/__init__.py
Class Name: DataFrameMapper
Method Name: transform