2feab9beb8c59f05ca2e1938f484b6bce638af47,models/experimental/mask_rcnn/mask_rcnn_model.py,,_model_fn,#Any#Any#Any#Any#Any#Any#,39
Before Change
host_call = None
if mode == tf.estimator.ModeKeys.TRAIN:
optimizer = tf.train.MomentumOptimizer(
learning_rate, momentum=params["momentum"])
optimizer = tf.contrib.tpu.CrossShardOptimizer(optimizer)
// Batch norm requires update_ops to be added as a train_op dependency.
After Change
host_call = None
if mode == tf.estimator.ModeKeys.TRAIN:
optimizer = create_optimizer(learning_rate, params)
optimizer = tf.contrib.tpu.CrossShardOptimizer(optimizer)
if not params["resnet_checkpoint"]:
scaffold_fn = None
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 2
Instances
Project Name: tensorflow/tpu
Commit Name: 2feab9beb8c59f05ca2e1938f484b6bce638af47
Time: 2019-01-22
Author: frankchn@google.com
File Name: models/experimental/mask_rcnn/mask_rcnn_model.py
Class Name:
Method Name: _model_fn
Project Name: HyperGAN/HyperGAN
Commit Name: 27761d94f55dfac51152cb26aff4819e7abdde67
Time: 2020-03-02
Author: mikkel@255bits.com
File Name: hypergan/trainers/simultaneous_trainer.py
Class Name: SimultaneousTrainer
Method Name: _create
Project Name: HyperGAN/HyperGAN
Commit Name: 0ffa6f00e5f3385a003df4f27cd944b09103a801
Time: 2018-12-20
Author: mikkel@255bits.com
File Name: hypergan/trainers/simultaneous_trainer.py
Class Name: SimultaneousTrainer
Method Name: _create