Skip to content

Commit 6789597

Browse files
committed
update doc
1 parent e756480 commit 6789597

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

docs/source/History.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# History
2-
- 11/09/2022 : [v0.9.3](https://github.com/shenweichen/DeepCTR/releases/tag/v0.9.3) released.Add [EDCN](./Features.html#edcn-enhancing-explicit-and-implicit-feature-interactions-dcn).
2+
- 11/10/2022 : [v0.9.3](https://github.com/shenweichen/DeepCTR/releases/tag/v0.9.3) released.Add [EDCN](./Features.html#edcn-enhancing-explicit-and-implicit-feature-interactions-dcn).
33
- 10/15/2022 : [v0.9.2](https://github.com/shenweichen/DeepCTR/releases/tag/v0.9.2) released.Support python `3.9`,`3.10`.
44
- 06/11/2022 : [v0.9.1](https://github.com/shenweichen/DeepCTR/releases/tag/v0.9.1) released.Improve compatibility with tensorflow `2.x`.
55
- 09/03/2021 : [v0.9.0](https://github.com/shenweichen/DeepCTR/releases/tag/v0.9.0) released.Add multitask learning models:[SharedBottom](./Features.html#sharedbottom),[ESMM](./Features.html#esmm-entire-space-multi-task-model),[MMOE](./Features.html#mmoe-multi-gate-mixture-of-experts) and [PLE](./Features.html#ple-progressive-layered-extraction). [running example](./Examples.html#multitask-learning-mmoe)

docs/source/index.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ You can read the latest code and related projects
4242

4343
News
4444
-----
45-
11/09/2022 : Add `EDCN` . `Changelog <https://github.com/shenweichen/DeepCTR/releases/tag/v0.9.3>`_
45+
11/10/2022 : Add `EDCN` . `Changelog <https://github.com/shenweichen/DeepCTR/releases/tag/v0.9.3>`_
4646

4747
10/15/2022 : Support python `3.9` , `3.10` . `Changelog <https://github.com/shenweichen/DeepCTR/releases/tag/v0.9.2>`_
4848

tests/models/xDeepFM_test.py

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
import pytest
2-
import tensorflow as tf
32

43
from deepctr.models import xDeepFM
5-
from ..utils import check_model, get_test_data, SAMPLE_SIZE, get_test_data_estimator, check_estimator
4+
from ..utils import check_model, get_test_data, SAMPLE_SIZE, get_test_data_estimator, check_estimator, TEST_Estimator
65

76

87
@pytest.mark.parametrize(
@@ -15,8 +14,6 @@
1514
)
1615
def test_xDeepFM(dnn_hidden_units, cin_layer_size, cin_split_half, cin_activation, sparse_feature_num,
1716
dense_feature_dim):
18-
if tf.__version__ == "1.15.0" or tf.__version__ == "1.4.0": # slow in tf 1.15
19-
return
2017
model_name = "xDeepFM"
2118

2219
sample_size = SAMPLE_SIZE
@@ -46,6 +43,9 @@ def test_xDeepFM(dnn_hidden_units, cin_layer_size, cin_split_half, cin_activatio
4643
)
4744
def test_xDeepFMEstimator(dnn_hidden_units, cin_layer_size, cin_split_half, cin_activation, sparse_feature_num,
4845
dense_feature_dim):
46+
import tensorflow as tf
47+
if not TEST_Estimator or tf.__version__ == "1.4.0":
48+
return
4949
from deepctr.estimator import xDeepFMEstimator
5050

5151
sample_size = SAMPLE_SIZE
@@ -61,4 +61,4 @@ def test_xDeepFMEstimator(dnn_hidden_units, cin_layer_size, cin_split_half, cin_
6161

6262

6363
if __name__ == "__main__":
64-
pass
64+
pass

0 commit comments

Comments
 (0)