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

Before Change


  tf.logging.set_verbosity(args.verbosity)
  // Set C++ Graph Execution level verbosity.
  os.environ["TF_CPP_MIN_LOG_LEVEL"] = str(
      tf.logging.__dict__[args.verbosity] / 10)

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

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: 3

Non-data size: 4

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: IBM/adversarial-robustness-toolbox
Commit Name: eb8d84988f3ad1753f988a72822ab80e96d56dcb
Time: 2017-08-14
Author: valentina.zantedeschi@ibm.com
File Name: generate_from_mnist.py
Class Name:
Method Name:


Project Name: IBM/adversarial-robustness-toolbox
Commit Name: eb8d84988f3ad1753f988a72822ab80e96d56dcb
Time: 2017-08-14
Author: valentina.zantedeschi@ibm.com
File Name: generate_from_imagenet.py
Class Name:
Method Name: