17e198bcc50b15e0d521c71f25dd76f1cc840754,python/eight_mile/tf/layers.py,LSTMEncoderWithState,call,#LSTMEncoderWithState#Any#Any#,358
Before Change
inputs, hidden = inputs
rnnout, hidden = tf.nn.dynamic_rnn(self.rnn, inputs, initial_state=hidden, dtype=tf.float32)
return self.output_fn(rnnout, hidden)
// Mapped
class BiLSTMEncoder(tf.keras.Model):
After Change
unary, lengths = inputs
if training:
return tf.contrib.crf.crf_log_norm(unary, lengths, self.transitions)
else:
return self.decode(unary, lengths)
def decode(self, unary, lengths):
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 4
Instances
Project Name: dpressel/mead-baseline
Commit Name: 17e198bcc50b15e0d521c71f25dd76f1cc840754
Time: 2019-09-25
Author: dpressel@gmail.com
File Name: python/eight_mile/tf/layers.py
Class Name: LSTMEncoderWithState
Method Name: call
Project Name: SheffieldML/GPy
Commit Name: 624117eaac16a0674201471119d940ccd81b1771
Time: 2015-03-26
Author: james.hensman@gmail.com
File Name: GPy/mappings/mlp.py
Class Name: MLP
Method Name: f
Project Name: dpressel/mead-baseline
Commit Name: 19d2bbc7d6e70836f34b83ac7702a0477e4b97b0
Time: 2019-11-19
Author: blester125@gmail.com
File Name: python/eight_mile/tf/layers.py
Class Name: BiLSTMEncoder1
Method Name: call
Project Name: dpressel/mead-baseline
Commit Name: cb112c4dfca92159520bb7b2c8a95a94ab38239c
Time: 2019-10-17
Author: dpressel@gmail.com
File Name: python/eight_mile/tf/layers.py
Class Name: BiLSTMEncoder
Method Name: call