Skip to content

Commit 2ad8103

Browse files
author
Weichen Shen
committed
Update examples
1 parent a0a2616 commit 2ad8103

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

docs/source/History.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# History
2-
- 08/02/2019 : [v0.6.0](https://github.com/shenweichen/DeepCTR/releases/tag/v0.6.0) released.Now DeepCTR is compatible with tensorflow from `1.14` and `2.0.0`.
2+
- 08/02/2019 : [v0.6.0](https://github.com/shenweichen/DeepCTR/releases/tag/v0.6.0) released.Now DeepCTR is compatible with tensorflow `1.14` and `2.0.0`.
33
- 07/21/2019 : [v0.5.2](https://github.com/shenweichen/DeepCTR/releases/tag/v0.5.2) released.Refactor `Linear` Layer.
44
- 07/10/2019 : [v0.5.1](https://github.com/shenweichen/DeepCTR/releases/tag/v0.5.1) released.Add [FiBiNET](./Features.html#fibinet-feature-importance-and-bilinear-feature-interaction-network).
55
- 06/30/2019 : [v0.5.0](https://github.com/shenweichen/DeepCTR/releases/tag/v0.5.0) released.Refactor inputs module.

examples/run_dsin.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ def get_xy_fd(hash_flag=False):
4444
return x, y, feature_columns, behavior_feature_list
4545

4646
if __name__ == "__main__":
47-
if tf.__version__ > '1.14.0':
48-
tf.compat.v1.disable_eager_execution() #todo
47+
if tf.__version__ >= '2.0.0':
48+
tf.compat.v1.disable_eager_execution()
4949

5050
x, y, feature_columns, behavior_feature_list = get_xy_fd(True)
5151

0 commit comments

Comments
 (0)