按照官方文檔,tensorflow手動編譯獲取代碼如下:
git clone https://github.com/tensorflow/tensorflow
cd tensorflow
git checkout Branch # where Branch is the desired branch,如git checkout r1.0
這裏有個巨坑,如果你打開git上的Branches,會看到(不同時間不一樣):
有很多叉,如果選擇r1.3,你會發現是編譯通不過的。。。
按照官方文檔,tensorflow手動編譯獲取代碼如下:
git clone https://github.com/tensorflow/tensorflow
cd tensorflow
git checkout Branch # where Branch is the desired branch,如git checkout r1.0
這裏有個巨坑,如果你打開git上的Branches,會看到(不同時間不一樣):
有很多叉,如果選擇r1.3,你會發現是編譯通不過的。。。