-
Notifications
You must be signed in to change notification settings - Fork 332
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[feature]: add support for tf25 py3 test #255
Conversation
|
CI PY3 Test Failed |
60f7717
to
dce6a5a
Compare
CI Test Failed |
CI PY3 Test Failed |
CI PY3 Test Failed |
CI Test Passed |
CI PY3 TF25 Test Failed |
CI PY3 Test Passed |
CI PY3 TF25 Test Failed |
CI PY3 Test Passed |
CI PY3 TF25 Test Failed |
CI Test Passed |
…EasyRec into add_py37_tf25_unit_test
CI PY3 Test Failed |
CI PY3 TF25 Test Failed |
CI Test Passed |
CI PY3 Test Passed |
CI PY3 TF25 Test Failed |
CI Test Passed |
CI PY3 Test Passed |
CI PY3 TF25 Test Passed |
CI Test Passed |
@@ -634,8 +634,8 @@ def test_dssm_sample_weight(self): | |||
self.assertTrue(self._success) | |||
|
|||
@unittest.skipIf( | |||
LooseVersion(tf.__version__) < LooseVersion('2.3.0'), | |||
'MultiWorkerMirroredStrategy need tf version > 2.3') | |||
LooseVersion(tf.__version__) != LooseVersion('2.3.0'), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这是什么意思,tf 2.3 版本不支持吗
@@ -0,0 +1,115 @@ | |||
name: CI Build PY3 TF25 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
为啥不是一步到位,支持 tf 2.9 呢
with self.test_session() as sess: | ||
loss_val = sess.run(loss) | ||
self.assertAlmostEqual(loss_val, 0.76977473, delta=1e-5) | ||
self.assertAlmostEqual(loss_val, 0.48577175, delta=1e-5) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这个之前的测试是怎么过的
add support for tf25 py3 test