d97a73f8ea19e52166702dd448dea03e3a6be95b,opennmt/models/sequence_classifier.py,SequenceClassifier,__init__,#SequenceClassifier#Any#Any#Any#Any#Any#Any#,15

Before Change


        daisy_chain_variables=daisy_chain_variables)
    self.encoder = encoder
    self.encoding = encoding.lower()
    if self.encoding not in ("average", "last"):
      raise ValueError("Invalid encoding vector: {}".format(self.encoding))

  def _call(self, features, labels, params, mode):
    training = mode == tf.estimator.ModeKeys.TRAIN
    with tf.variable_scope("encoder"):
      inputs = self.features_inputter.make_inputs(features, training=training)

After Change


    self.encoder = encoder
    self.encoding = encoding.lower()
    if self.encoding not in ("average", "last"):
      raise ValueError("Invalid encoding vector: {}".format(self.encoding))

  def _call(self, features, labels, params, mode):
    training = mode == tf.estimator.ModeKeys.TRAIN
    with tf.variable_scope("encoder"):
      inputs = self.features_inputter.make_inputs(features, training=training)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: OpenNMT/OpenNMT-tf
Commit Name: d97a73f8ea19e52166702dd448dea03e3a6be95b
Time: 2019-03-27
Author: guillaume.klein@systrangroup.com
File Name: opennmt/models/sequence_classifier.py
Class Name: SequenceClassifier
Method Name: __init__


Project Name: prody/ProDy
Commit Name: 1c01f08cd378eabf223345e4ac7f0357bbf93649
Time: 2018-02-26
Author: shz66@pitt.edu
File Name: prody/dynamics/functions.py
Class Name:
Method Name: calcENM


Project Name: prody/ProDy
Commit Name: d19f211130de38bb931bbf101df7c6d0698d6e56
Time: 2018-02-27
Author: shz66@pitt.edu
File Name: prody/dynamics/functions.py
Class Name:
Method Name: calcENM