f53f4f0a1196e61e24ffee2b4ab2eededdc46ac6,iris/tensorflow/estimator/trainer/task.py,,,#,88

Before Change



  // Runs the training job.
  hparams = hparam.HParams(**args.__dict__)
  train_and_evaluate(hparams)

After Change




if __name__ == "__main__":
  args = get_args()
  _setup_logging()

  hparams = hparam.HParams(**args.__dict__)
  train_and_evaluate(hparams)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 3

Instances


Project Name: GoogleCloudPlatform/cloudml-samples
Commit Name: f53f4f0a1196e61e24ffee2b4ab2eededdc46ac6
Time: 2018-11-07
Author: gogasca@google.com
File Name: iris/tensorflow/estimator/trainer/task.py
Class Name:
Method Name:


Project Name: yahoo/TensorFlowOnSpark
Commit Name: b5db074f69f553a99f827c5e9d8ba097302d8948
Time: 2018-08-27
Author: leewyang@gmail.com
File Name: examples/mnist/keras/mnist_mlp_estimator.py
Class Name:
Method Name: main_fun


Project Name: yahoo/TensorFlowOnSpark
Commit Name: 07494c02e602c7526579d90150404e38b122fbe3
Time: 2018-12-07
Author: leewyang@gmail.com
File Name: examples/mnist/keras/mnist_mlp_estimator.py
Class Name:
Method Name: main_fun


Project Name: IndicoDataSolutions/finetune
Commit Name: 9ffbc02b5de2c1391b2390800d4e072f3841e9a4
Time: 2018-10-03
Author: benlt@hotmail.co.uk
File Name: finetune/base.py
Class Name: BaseModel
Method Name: finetune