c04a6d01ba8568c26c2d201c2dba5385027b0492,finetune/scheduler.py,Scheduler,featurize_sequence,#Scheduler#Any#Any#,102
Before Change
return features
def featurize_sequence(self, model_file, x, *args, **kwargs):
model = self._rotate_in_model(model_file)
seq_features = model.featurize_sequence(x, *args, **kwargs)
self._update_memory_limit(model)
return seq_features
After Change
@scheduled
def featurize_sequence(self, model_file, x, *args, model=None, **kwargs):
return model.featurize_sequence(x, *args, **kwargs)
In pattern: SUPERPATTERN
Frequency: 5
Non-data size: 6
Instances
Project Name: IndicoDataSolutions/finetune
Commit Name: c04a6d01ba8568c26c2d201c2dba5385027b0492
Time: 2020-07-08
Author: benlt@hotmail.co.uk
File Name: finetune/scheduler.py
Class Name: Scheduler
Method Name: featurize_sequence
Project Name: IndicoDataSolutions/finetune
Commit Name: c04a6d01ba8568c26c2d201c2dba5385027b0492
Time: 2020-07-08
Author: benlt@hotmail.co.uk
File Name: finetune/scheduler.py
Class Name: Scheduler
Method Name: featurize
Project Name: IndicoDataSolutions/finetune
Commit Name: c04a6d01ba8568c26c2d201c2dba5385027b0492
Time: 2020-07-08
Author: benlt@hotmail.co.uk
File Name: finetune/scheduler.py
Class Name: Scheduler
Method Name: attention_weights
Project Name: IndicoDataSolutions/finetune
Commit Name: c04a6d01ba8568c26c2d201c2dba5385027b0492
Time: 2020-07-08
Author: benlt@hotmail.co.uk
File Name: finetune/scheduler.py
Class Name: Scheduler
Method Name: predict
Project Name: IndicoDataSolutions/finetune
Commit Name: c04a6d01ba8568c26c2d201c2dba5385027b0492
Time: 2020-07-08
Author: benlt@hotmail.co.uk
File Name: finetune/scheduler.py
Class Name: Scheduler
Method Name: predict_proba