04238fb26bf4f0555928a7e00d78cff5a1b7cd6e,tensorflow_ranking/python/keras/network_test.py,UnivariateRankingNetworkTest,setUp,#UnivariateRankingNetworkTest#,123

Before Change



  def setUp(self):
    super(UnivariateRankingNetworkTest, self).setUp()
    self.context_feature_columns = _context_feature_columns()
    self.example_feature_columns = _example_feature_columns()
    self.features = _features()
    self.ranker = _DummyUnivariateRankingNetwork(
        context_feature_columns=self.context_feature_columns,
        example_feature_columns=self.example_feature_columns)

After Change



  def setUp(self):
    super(UnivariateRankingNetworkTest, 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
    self._features = _features()
    self._ranker = _DummyUnivariateRankingNetwork(
        context_feature_columns=self._context_feature_columns,
        example_feature_columns=self._example_feature_columns)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 14

Instances


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: 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: 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/network_test.py
Class Name: UnivariateRankingNetworkTest
Method Name: setUp