ying-chease

1、TensorFlow 各版本的官方文档
https://www.tensorflow.org/versions

2、Tensorflow2.x的主要改变:
https://ithelp.ithome.com.tw/articles/10217648

3、从tf 1.x迁移到2.x的工具:
https://www.tensorflow.org/guide/migrate?hl=zh-cn
https://zhuanlan.zhihu.com/p/55523876

4、tf.contrib的改变
https://blog.csdn.net/dQCFKyQDXYm3F8rB0/article/details/81664736
所有的 tf.contrib 都会被弃用,对于每个 contrib 模块,要么
a)将项目集成到 TensorFlow 中;
b)将其移至单独的存储库;
c)完全将其移除。从今天将开始,TensorFlow 将停止添加新的 tf.contrib 项目。

5、部分改变
5.1、CRF
crf相关的全部迁移到Tensorflow_addons,比如:
viterbi_decode 从 tensorflow.contrib.crf 移到tensorflow_addons.text,可以通过帮助文档查找确定
crf 从 tensorflow.contrib.crf移到 tensorflow_addons.layers.CRF

5.2、set_random_seed
从tf.set_random_seed() 迁到 tf.random.set_seed()

其它参考资料:
改变汇总: https://blog.csdn.net/Zhou_Dao/article/details/103690612

分类:

技术点:

相关文章:

  • 2022-12-23
  • 2022-01-21
  • 2022-03-07
  • 2022-12-23
  • 2022-12-23
  • 2021-09-19
  • 2021-05-31
  • 2021-07-11
猜你喜欢
  • 2021-10-18
  • 2022-01-30
  • 2021-06-11
  • 2022-02-07
  • 2022-02-24
  • 2022-12-23
  • 2022-01-20
相关资源
相似解决方案