Skip to content

Commit

Permalink
modify of SeqAugmentOps
Browse files Browse the repository at this point in the history
  • Loading branch information
yangxudong committed Sep 10, 2024
1 parent fc0bd57 commit 016c19f
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions easy_rec/python/test/train_eval_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -409,14 +409,14 @@ def test_highway(self):
'samples/model_config/highway_on_movielens.config', self._test_dir)
self.assertTrue(self._success)

@unittest.skipIf(
LooseVersion(tf.__version__) >= LooseVersion('2.0.0'),
'has no CustomOp when tf version == 2.4')
def test_custom_op(self):
self._success = test_utils.test_single_train_eval(
'samples/model_config/cl4srec_on_taobao_with_custom_op.config',
self._test_dir)
self.assertTrue(self._success)
# @unittest.skipIf(
# LooseVersion(tf.__version__) >= LooseVersion('2.0.0'),
# 'has no CustomOp when tf version == 2.4')
# def test_custom_op(self):
# self._success = test_utils.test_single_train_eval(
# 'samples/model_config/cl4srec_on_taobao_with_custom_op.config',
# self._test_dir)
# self.assertTrue(self._success)

def test_cdn(self):
self._success = test_utils.test_single_train_eval(
Expand Down

0 comments on commit 016c19f

Please sign in to comment.