TensorFlow推出2.0版本后,TF2.0相比于1.x版本默認(rèn)使用Keras、Eager Execution、支持跨平臺(tái)、簡(jiǎn)化了API等。這次更新使得TF2.0更加的接近PyTorch,一系列煩人的概念將一去不復(fù)返。本文推薦一位大神寫的TF2.0的樣例代碼,推薦參考。 Github地址(32000+star):https://github.com/aymericdamien/TensorFlow-Examples TensorFlow 2.0示例代碼地址:https://github.com/aymericdamien/TensorFlow-Examples/tree/master/tensorflow_v2 TensorFlow 2.0示例目錄0 - 先決條件
1 - 簡(jiǎn)介
2 - 基礎(chǔ)模型
3 - 神經(jīng)網(wǎng)絡(luò)
4 - 通用工具
安裝TensorFlow 2.0要安裝TensorFlow 2.0,只需運(yùn)行: pip install tensorflow==2.0.0b1 或(如果您需要GPU支持):
總結(jié)本文推薦了一個(gè)github上32000+star的TensorFlow代碼示例的倉(cāng)庫(kù),倉(cāng)庫(kù)包含了TensorFlow2.0的代碼示例,推薦下載學(xué)習(xí)。 |
|
來(lái)自: LibraryPKU > 《機(jī)器學(xué)習(xí)》