2d267b27382ef99b8e58eb561cee339f4cd0b2d5,10-structured/bilstm-teacher-forcing-tagger.py,,calc_scores,#Any#,65
Before Change
word_reps = LSTM.transduce([LOOKUP[x] for x in words])
// Softmax scores
W, b = dy.parameter(W_sm, b_sm)
scores = [dy.affine_transform([b, W, x]) for x in word_reps]
return scores
After Change
// Softmax scores
W = dy.parameter(W_sm)
b = dy.parameter(b_sm)
scores = [dy.affine_transform([b, W, x]) for x in combined_word_reps]
return scores
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 3
Instances Project Name: neubig/nn4nlp-code
Commit Name: 2d267b27382ef99b8e58eb561cee339f4cd0b2d5
Time: 2017-09-26
Author: hunterhector@gmail.com
File Name: 10-structured/bilstm-teacher-forcing-tagger.py
Class Name:
Method Name: calc_scores
Project Name: rlworkgroup/garage
Commit Name: 49807783b43ade605b8be05f481c6e72ff933030
Time: 2019-03-26
Author: ahtsans@gmail.com
File Name: garage/tf/models/gaussian_mlp_model.py
Class Name: GaussianMLPModel
Method Name: _build
Project Name: neubig/nn4nlp-code
Commit Name: e62be9ce7f97d6202399ec275aa4564c0c9ccd61
Time: 2017-09-26
Author: hunterhector@gmail.com
File Name: 10-structured/bilstm-tagger.py
Class Name:
Method Name: calc_scores
Project Name: keras-team/keras
Commit Name: 6eb0c7bdbb68d7de0ef507102c757c7ccbf582a0
Time: 2018-07-07
Author: kbattocchi@gmail.com
File Name: keras/backend/cntk_backend.py
Class Name:
Method Name: random_normal_variable