官术网_书友最值得收藏!

  • Mastering TensorFlow 1.x
  • Armando Fandango
  • 86字
  • 2021-06-25 22:50:57

Simple placement

TensorFlow follows these simple rules, also known as the simple placement, for placing the variables on the devices:

If the graph was previously run, 
then the node is left on the device where it was placed earlier
Else If the tf.device() block is used,
then the node is placed on the specified device
Else If the GPU is present
then the node is placed on the first available GPU
Else If the GPU is not present
then the node is placed on the CPU
主站蜘蛛池模板: 文昌市| 桃园市| 正定县| 凤山县| 丰台区| 阜新市| 嘉荫县| 华安县| 日照市| 眉山市| 山丹县| 浪卡子县| 安国市| 天津市| 剑阁县| 泸定县| 海丰县| 揭西县| 克山县| 栾城县| 湘乡市| 崇义县| 文水县| 湘西| 共和县| 廉江市| 太仓市| 东乌珠穆沁旗| 安乡县| 获嘉县| 盐山县| 峨眉山市| 辉县市| 高陵县| 横峰县| 德钦县| 东兴市| 府谷县| 多伦县| 大余县| 嘉鱼县|