Tingcheng Wu
Tingcheng Wu
看到tf社区TensorFlow Team的 @qlzh727 有回复说: > Note that tensorflow.python.keras is not a valid import, and it is accessing legacy code that is about to delete. You should never import that directly....
> > 看到tf社区TensorFlow Team的 @qlzh727 有回复说: > > > Note that tensorflow.python.keras is not a valid import, and it is accessing legacy code that is about to delete. You should...
> > > > 如 https://github.com/shenweichen/DeepCTR/blob/master/deepctr/models/deepfm.py 这个正是我的疑问所在,为什么DeepCTR的开发者们选择使用tensorflow.python.keras? > > I guess it is a compatibility problem. DeepCTR want to compatible with both tf 1.x and tf 2.x. Under tf 1.x...