2932118d87e4ada42a68f94743d00e1431d3ee69,python/baseline/tf/lm/model.py,BasicLanguageModel,create,#Any#Any#,114
Before Change
with tf.variable_scope(tf.get_variable_scope(), reuse=tf.AUTO_REUSE, initializer=weight_initializer):
all_embeddings_out = []
for embedding in lm.embeddings.values():
embeddings_out = embedding.encode()
all_embeddings_out.append(embeddings_out)
After Change
with tf.variable_scope(tf.get_variable_scope(), reuse=tf.AUTO_REUSE, initializer=weight_initializer):
inputs = lm.embed()
lm.layers = kwargs.get("layers", 1)
lm.decode(inputs, embeddings[lm.tgt_key].vsz)
return lm
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances Project Name: dpressel/mead-baseline
Commit Name: 2932118d87e4ada42a68f94743d00e1431d3ee69
Time: 2018-10-22
Author: dpressel@gmail.com
File Name: python/baseline/tf/lm/model.py
Class Name: BasicLanguageModel
Method Name: create
Project Name: dpressel/mead-baseline
Commit Name: e9e13300f26dd3562edcb8e6fbbdd426fd1f7279
Time: 2018-09-23
Author: dpressel@gmail.com
File Name: python/baseline/tf/classify/model.py
Class Name: ClassifierBase
Method Name: create
Project Name: dpressel/mead-baseline
Commit Name: 51498b09368a61bfb06849693688df6eb54d4787
Time: 2019-11-14
Author: blester125@gmail.com
File Name: python/eight_mile/tf/embeddings.py
Class Name: CharConvEmbeddings
Method Name: encode