- 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
推薦閱讀
- Augmented Reality with Kinect
- Linux KVM虛擬化架構實戰指南
- Instant uTorrent
- Deep Learning with PyTorch
- The Applied AI and Natural Language Processing Workshop
- Getting Started with Qt 5
- 3ds Max Speed Modeling for 3D Artists
- Visual Media Processing Using Matlab Beginner's Guide
- 筆記本電腦維修300問
- Internet of Things Projects with ESP32
- 數字媒體專業英語(第2版)
- 單片微機原理及應用
- Spring Cloud實戰
- The Deep Learning with PyTorch Workshop
- 詳解FPGA:人工智能時代的驅動引擎