c1db25d9281a9374005d5c8b4e183b8e6d7d2ace,cloud_tpu/models/inception_v3/inception_v3.py,,main,#Any#,274
Before Change
def main(unused_argv):
del unused_argv // Unused
tf.logging.set_verbosity(tf.logging.INFO)
run_config = tpu_config.RunConfig(
master=FLAGS.master,
model_dir=FLAGS.model_dir,
After Change
if FLAGS.eval_enabled:
eval_steps = (imagenet.get_split_size("validation") //
FLAGS.eval_batch_size)
tf.logging.info("Starting evaluation cycle %d ." % cycle)
eval_results = inception_classifier.evaluate(
input_fn=ImageNetInput(False), steps=eval_steps)
tf.logging.info("Evaluation results: %s" % eval_results)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: tensorflow/tpu
Commit Name: c1db25d9281a9374005d5c8b4e183b8e6d7d2ace
Time: 2017-09-06
Author: frankchn@google.com
File Name: cloud_tpu/models/inception_v3/inception_v3.py
Class Name:
Method Name: main
Project Name: tensorflow/privacy
Commit Name: 10335f61775faabe5e931f30b0ecf91f0719b727
Time: 2020-05-07
Author: schien@google.com
File Name: tutorials/mnist_dpsgd_tutorial.py
Class Name:
Method Name: main
Project Name: tensorflow/tensorboard
Commit Name: 009aaea6e7432a9acdffabf202a573020a23f14c
Time: 2016-04-22
Author: nobody@tensorflow.org
File Name: tensorboard.py
Class Name:
Method Name: main