04238fb26bf4f0555928a7e00d78cff5a1b7cd6e,tensorflow_ranking/python/keras/feature_test.py,EncodeListwiseFeaturesTest,setUp,#EncodeListwiseFeaturesTest#,96

Before Change


  def setUp(self):
    super(EncodeListwiseFeaturesTest, self).setUp()
    self.context_feature_columns = _context_feature_columns()
    self.example_feature_columns = _example_feature_columns()

    // Batch size = 2, list_size = 2.
    self.features = _features()
    self.listwise_dense_layer = feature.EncodeListwiseFeatures(

After Change



  def setUp(self):
    super(EncodeListwiseFeaturesTest, self).setUp()
    (context_feature_columns, example_feature_columns,
     custom_objects) = _get_feature_columns()
    self._context_feature_columns = context_feature_columns
    self._example_feature_columns = example_feature_columns
    self._custom_objects = custom_objects
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 6

Non-data size: 3

Instances


Project Name: tensorflow/ranking
Commit Name: 04238fb26bf4f0555928a7e00d78cff5a1b7cd6e
Time: 2020-06-01
Author: ramakumar@google.com
File Name: tensorflow_ranking/python/keras/feature_test.py
Class Name: EncodeListwiseFeaturesTest
Method Name: setUp


Project Name: tensorflow/ranking
Commit Name: 04238fb26bf4f0555928a7e00d78cff5a1b7cd6e
Time: 2020-06-01
Author: ramakumar@google.com
File Name: tensorflow_ranking/python/keras/network_test.py
Class Name: UnivariateRankingNetworkTest
Method Name: setUp


Project Name: tensorflow/ranking
Commit Name: 04238fb26bf4f0555928a7e00d78cff5a1b7cd6e
Time: 2020-06-01
Author: ramakumar@google.com
File Name: tensorflow_ranking/python/keras/feature_test.py
Class Name: KerasInputsTest
Method Name: setUp


Project Name: tensorflow/ranking
Commit Name: 04238fb26bf4f0555928a7e00d78cff5a1b7cd6e
Time: 2020-06-01
Author: ramakumar@google.com
File Name: tensorflow_ranking/python/keras/feature_test.py
Class Name: FeatureColumnSerializationTest
Method Name: setUp


Project Name: tensorflow/ranking
Commit Name: 04238fb26bf4f0555928a7e00d78cff5a1b7cd6e
Time: 2020-06-01
Author: ramakumar@google.com
File Name: tensorflow_ranking/python/keras/network_test.py
Class Name: BaseRankingNetworkTest
Method Name: setUp


Project Name: tensorflow/ranking
Commit Name: 04238fb26bf4f0555928a7e00d78cff5a1b7cd6e
Time: 2020-06-01
Author: ramakumar@google.com
File Name: tensorflow_ranking/python/keras/feature_test.py
Class Name: GenerateMaskTest
Method Name: setUp