59089e4da1cbf9d12a74b4bb69c1ccdfe8113518,cloud_tpu/models/ptb/ptb.py,,,#,32

Before Change


// unrolled step.
tf.flags.DEFINE_integer("num_unrolled_steps", 1,
                        "Number of unrolled steps of the LSTM.")
tf.flags.DEFINE_float("dropout_prob", 0.35, "Dropout rate.")
tf.flags.DEFINE_integer("save_checkpoints_secs", None,
                        "Seconds between checkpoint saves.")
tf.flags.DEFINE_string("master", "local",
                       "BNS name of the TensorFlow master to use.")

After Change


                        "steps is the next multiple of --iterations greater "
                        "than this value.")
tf.flags.DEFINE_integer("vocab_size", 10000, "Size of vocabulary.")
tf.flags.DEFINE_integer("embedding_size", 200, "Size of word embeddings.")
tf.flags.DEFINE_integer("num_layers", 2, "Number of layers of LSTM cell.")
// Though the original paper (https://arxiv.org/abs/1409.2329) talks about
// unrolling 35 steps, there is no need to do that if the model works with 1
// unrolled step.
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 8

Non-data size: 2

Instances


Project Name: tensorflow/tpu
Commit Name: 59089e4da1cbf9d12a74b4bb69c1ccdfe8113518
Time: 2017-11-01
Author: frankchn@google.com
File Name: cloud_tpu/models/ptb/ptb.py
Class Name:
Method Name:


Project Name: tensorflow/tpu
Commit Name: a9442319418b0d9b35f943ea5e58842ff682cd25
Time: 2017-11-13
Author: frankchn@google.com
File Name: cloud_tpu/models/inception/inception_v3.py
Class Name:
Method Name:


Project Name: tensorflow/tpu
Commit Name: a9442319418b0d9b35f943ea5e58842ff682cd25
Time: 2017-11-13
Author: frankchn@google.com
File Name: cloud_tpu/models/inception/inception_v2.py
Class Name:
Method Name:


Project Name: tensorflow/tpu
Commit Name: 2f8658fbb6e0a545f18618b6238936280f80382c
Time: 2017-10-02
Author: frankchn@google.com
File Name: cloud_tpu/models/resnet_garden/resnet_main.py
Class Name:
Method Name:


Project Name: tensorflow/tpu
Commit Name: 67bf296979bc456127826044df5ce196b9cc3126
Time: 2018-02-28
Author: 1517779+sb2nov@users.noreply.github.com
File Name: models/experimental/inception/inception_v2.py
Class Name:
Method Name:


Project Name: tensorflow/tpu
Commit Name: 67bf296979bc456127826044df5ce196b9cc3126
Time: 2018-02-28
Author: 1517779+sb2nov@users.noreply.github.com
File Name: models/experimental/inception/inception_v3.py
Class Name:
Method Name:


Project Name: tensorflow/mesh
Commit Name: b1bfb8b4159dca7e057c3253dbd519984865b893
Time: 2019-03-12
Author: craffel@google.com
File Name: examples/transformer_standalone.py
Class Name:
Method Name:


Project Name: tensorflow/mesh
Commit Name: 81d63ce2728d3d6b6b24b22a6b54bb27fd19354c
Time: 2019-03-07
Author: noam@google.com
File Name: examples/transformer_standalone.py
Class Name:
Method Name: