f84b3616c71d52b4f3cefebe629ba4808b59b8d8,baseline/tf/tagger/model.py,TaggerModelBase,make_input,#TaggerModelBase#Any#Any#,134
Before Change
:return:
y = batch_dict.get("y", None)
if get_version(tf) < 2:
batch_for_model = new_placeholder_dict(train)
for k in self.embeddings.keys():
batch_for_model["{}:0".format(k)] = self.drop_inputs(k, batch_dict[k], train)
After Change
:return:
y = batch_dict.get("y", None)
if not tf.executing_eagerly() :
batch_for_model = new_placeholder_dict(train)
for k in self.embeddings.keys():
In pattern: SUPERPATTERN
Frequency: 5
Non-data size: 6
Instances Project Name: dpressel/mead-baseline
Commit Name: f84b3616c71d52b4f3cefebe629ba4808b59b8d8
Time: 2020-02-04
Author: dpressel@gmail.com
File Name: baseline/tf/tagger/model.py
Class Name: TaggerModelBase
Method Name: make_input
Project Name: dpressel/mead-baseline
Commit Name: f84b3616c71d52b4f3cefebe629ba4808b59b8d8
Time: 2020-02-04
Author: dpressel@gmail.com
File Name: baseline/tf/lm/model.py
Class Name: LanguageModelBase
Method Name: save_values
Project Name: dpressel/mead-baseline
Commit Name: f84b3616c71d52b4f3cefebe629ba4808b59b8d8
Time: 2020-02-04
Author: dpressel@gmail.com
File Name: baseline/tf/tagger/model.py
Class Name: TaggerModelBase
Method Name: predict
Project Name: dpressel/mead-baseline
Commit Name: f84b3616c71d52b4f3cefebe629ba4808b59b8d8
Time: 2020-02-04
Author: dpressel@gmail.com
File Name: baseline/tf/tagger/model.py
Class Name: TaggerModelBase
Method Name: save_values
Project Name: dpressel/mead-baseline
Commit Name: f84b3616c71d52b4f3cefebe629ba4808b59b8d8
Time: 2020-02-04
Author: dpressel@gmail.com
File Name: baseline/tf/lm/model.py
Class Name: LanguageModelBase
Method Name: make_input