- 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
推薦閱讀
- Learning SQL Server Reporting Services 2012
- Raspberry Pi 3 Cookbook for Python Programmers
- Windows phone 7.5 application development with F#
- 基于Proteus和Keil的C51程序設計項目教程(第2版):理論、仿真、實踐相融合
- 電腦常見問題與故障排除
- 計算機應用與維護基礎教程
- 基于ARM的嵌入式系統和物聯網開發
- 精選單片機設計與制作30例(第2版)
- Getting Started with Qt 5
- Unity 5.x Game Development Blueprints
- INSTANT ForgedUI Starter
- Creating Flat Design Websites
- VMware Workstation:No Experience Necessary
- Hands-On Motion Graphics with Adobe After Effects CC
- 3D Printing Blueprints