Tensorflow学习笔记——tf.nn, tf.layers, tf.contrib综述

tf.nn, tf.layers, tf.contrib模块有很多功能是重复的。
下面是对三个模块的综述:

tf.nn

tf.layers

主要提供的高层的神经网络,感觉是对tf.nn的进一步封装,tf.nn会更底层一些。

tf.contrib

开源社区贡献,新功能,内外部测试,根据反馈意见改进性能,改善API友好度,API稳定后,移到TensorFlow核心模块。生产代码,以最新官方教程和API指南参考。

Reference:
https://blog.csdn.net/qq_41853758/article/details/82454781

猜你喜欢

转载自blog.csdn.net/weixin_42018112/article/details/88873767
今日推荐