0836aafdbabc5862937f6741a15d32381b98532e,opennmt/models/sequence_to_sequence.py,SequenceToSequence,_build,#SequenceToSequence#Any#Any#Any#Any#,106

Before Change



    with tf.variable_scope("encoder"):
      source_inputs = self.source_embedder.embed_from_data(features, mode)
      self.source_embedder.visualize(params["log_dir"])

      encoder_outputs, encoder_states, encoder_sequence_length = self.encoder.encode(
        source_inputs,
        sequence_length=self.source_embedder.get_data_field(features, "length"),

After Change


      source_inputs = self.source_embedder.embed_from_data(
        features,
        mode,
        log_dir=params.get("log_dir"))

      encoder_outputs, encoder_states, encoder_sequence_length = self.encoder.encode(
        source_inputs,
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: OpenNMT/OpenNMT-tf
Commit Name: 0836aafdbabc5862937f6741a15d32381b98532e
Time: 2017-08-11
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: 0836aafdbabc5862937f6741a15d32381b98532e
Time: 2017-08-11
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: 0836aafdbabc5862937f6741a15d32381b98532e
Time: 2017-08-11
Author: guillaume.klein@systrangroup.com
File Name: opennmt/models/sequence_classifier.py
Class Name: SequenceClassifier
Method Name: _build