b52030a1fc8ce7b0a63be3c0882a1a36cbdd0311,tflearn/helpers/trainer.py,Trainer,fit,#Trainer#,174
Before Change
original_train_ops = list(self.train_ops)
// Remove excluded train_ops
for t in self.train_ops:
if excl_trainops and t in excl_trainops:
self.train_ops.remove(t)
// shuffle is an override for simplicty, it will overrides every
// training op batch shuffling
if isinstance(shuffle_all, bool):
for t in self.train_ops: t.shuffle = shuffle_all
with self.graph.as_default():
After Change
original_train_ops = list(self.train_ops)
// Remove excluded train_ops
if excl_trainops:
self.train_ops = list(filter(lambda a: a not in excl_trainops, self.train_ops))
// shuffle is an override for simplicty, it will overrides every
// training op batch shuffling
if isinstance(shuffle_all, bool):
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances Project Name: tflearn/tflearn
Commit Name: b52030a1fc8ce7b0a63be3c0882a1a36cbdd0311
Time: 2017-07-12
Author: exelents.s@gmail.com
File Name: tflearn/helpers/trainer.py
Class Name: Trainer
Method Name: fit
Project Name: dirty-cat/dirty_cat
Commit Name: 1a19396d3daea14a189c4335e5df9f4072a764cc
Time: 2018-11-08
Author: maxime.cuny@inria.fr
File Name: dirty_cat/similarity_encoder.py
Class Name: SimilarityEncoder
Method Name: fit
Project Name: AllenCellModeling/pytorch_fnet
Commit Name: c120b5efac802ea97a28d674664073f022dddad7
Time: 2018-01-30
Author: chek.o@outlook.com
File Name: fnet/transforms.py
Class Name: Cropper
Method Name: _adjust_shape_crop