6b8a9a5f0e738d98904ff7c46c79a44bfdd56686,GPflow/model.py,Model,__setattr__,#Model#Any#Any#,185
Before Change
Parameterized.__setattr__(self, key, value)
//delete any AutoFlow related graphs
if key=="_needs_recompile" and value:
for key in filter(lambda x : x[0]=="_" and x[-6:]=="_graph", dir(self)) :
delattr(self, key)
@AutoFlow()
After Change
Parameterized.__setattr__(self, key, value)
// delete any AutoFlow related graphs
if key == "_needs_recompile" and value:
for key in dir(self) :
if key[0] == "_" and key[-6:] == "_graph":
delattr(self, key)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances Project Name: GPflow/GPflow
Commit Name: 6b8a9a5f0e738d98904ff7c46c79a44bfdd56686
Time: 2016-05-31
Author: alexggmatthews@googlemail.com
File Name: GPflow/model.py
Class Name: Model
Method Name: __setattr__
Project Name: GPflow/GPflow
Commit Name: 028a9ee6adedf6f2ebef79b40beea467ec5cfedd
Time: 2016-03-06
Author: james.hensman@gmail.com
File Name: GPflow/model.py
Class Name: Model
Method Name: __setattr__
Project Name: GPflow/GPflow
Commit Name: 73a5954fcf6bd3c48391306f93c98bb7dd48287f
Time: 2016-04-13
Author: james.hensman@gmail.com
File Name: GPflow/model.py
Class Name: Model
Method Name: __setattr__