5ef64b79a43ba8f4806d68fe61d6a97ce25e6f80,models/official/mnasnet/mnasnet_main.py,,mnasnet_model_fn,#Any#Any#Any#Any#,262

Before Change


  if has_moving_average_decay:
    ema = tf.train.ExponentialMovingAverage(
        decay=params["moving_average_decay"], num_updates=global_step)
    ema_vars = tf.trainable_variables() + tf.get_collection("moving_vars")
    for v in tf.global_variables():
      // We maintain mva for batch norm moving mean and variance as well.
      if "moving_mean" in v.name or "moving_variance" in v.name:
        ema_vars.append(v)
    ema_vars = list(set(ema_vars))

  host_call = None
  if is_training:
    // Compute the current epoch and associated learning rate from global_step.

After Change


  if has_moving_average_decay:
    ema = tf.train.ExponentialMovingAverage(
        decay=params["moving_average_decay"], num_updates=global_step)
    ema_vars = mnasnet_utils.get_ema_vars()

  host_call = None
  if is_training:
    // Compute the current epoch and associated learning rate from global_step.
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 17

Instances


Project Name: tensorflow/tpu
Commit Name: 5ef64b79a43ba8f4806d68fe61d6a97ce25e6f80
Time: 2019-07-15
Author: tanmingxing@google.com
File Name: models/official/mnasnet/mnasnet_main.py
Class Name:
Method Name: mnasnet_model_fn


Project Name: tensorflow/tpu
Commit Name: 5ef64b79a43ba8f4806d68fe61d6a97ce25e6f80
Time: 2019-07-15
Author: tanmingxing@google.com
File Name: models/official/mnasnet/mnasnet_main.py
Class Name:
Method Name: mnasnet_model_fn


Project Name: tensorflow/tpu
Commit Name: 58685226c5c7e30094f02741fce0aa0245737297
Time: 2019-07-16
Author: tanmingxing@google.com
File Name: models/official/efficientnet/main.py
Class Name:
Method Name: model_fn


Project Name: tensorflow/tpu
Commit Name: 58685226c5c7e30094f02741fce0aa0245737297
Time: 2019-07-16
Author: tanmingxing@google.com
File Name: models/official/efficientnet/eval_ckpt_main.py
Class Name: EvalCkptDriver
Method Name: restore_model