657c4a67f9985dfc29a05948066ea45fb8cd9e21,opennmt/models/sequence_to_sequence.py,SequenceToSequence,_build,#SequenceToSequence#Any#Any#Any#Any#,69
Before Change
encoder_outputs, encoder_states, encoder_sequence_length = self.encoder.encode(
source_inputs,
sequence_length=self.source_embedder.get_data_field(features, "length"),
mode=mode)
with tf.variable_scope("decoder") as decoder_scope:
After Change
encoder_outputs, encoder_states, encoder_sequence_length = self.encoder.encode(
source_inputs,
sequence_length=self._features_length(features),
mode=mode)
with tf.variable_scope("decoder") as decoder_scope:
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: OpenNMT/OpenNMT-tf
Commit Name: 657c4a67f9985dfc29a05948066ea45fb8cd9e21
Time: 2017-08-21
Author: guillaume.klein@systrangroup.com
File Name: opennmt/models/sequence_to_sequence.py
Class Name: SequenceToSequence
Method Name: _build
Project Name: OpenNMT/OpenNMT-tf
Commit Name: 657c4a67f9985dfc29a05948066ea45fb8cd9e21
Time: 2017-08-21
Author: guillaume.klein@systrangroup.com
File Name: opennmt/models/sequence_tagger.py
Class Name: SequenceTagger
Method Name: _build
Project Name: OpenNMT/OpenNMT-tf
Commit Name: 657c4a67f9985dfc29a05948066ea45fb8cd9e21
Time: 2017-08-21
Author: guillaume.klein@systrangroup.com
File Name: opennmt/models/sequence_classifier.py
Class Name: SequenceClassifier
Method Name: _build