- TensorFlow Machine Learning Projects
- Ankit Jain Armando Fandango Amita Kapoor
- 98字
- 2021-06-10 19:15:29
Soft placement
If a TensorFlow operation is placed on the GPU, then the execution engine must have the GPU implementation of that operation, known as the kernel. If the kernel is not present, then the placement results in a runtime error. Also, if the requested GPU device does not exist, then a runtime error is raised. The best way to handle such errors is to allow the operation to be placed on the CPU if requesting the GPU device results in an error. This can be achieved by setting the following config value:
config.allow_soft_placement = True
推薦閱讀
- 零起步輕松學單片機技術(第2版)
- 網(wǎng)上沖浪
- Hands-On Machine Learning with TensorFlow.js
- 悟透AutoCAD 2009完全自學手冊
- 網(wǎng)中之我:何明升網(wǎng)絡社會論稿
- Mastering Game Development with Unreal Engine 4(Second Edition)
- 網(wǎng)絡管理工具實用詳解
- 電腦日常使用與維護322問
- Mastering OpenStack(Second Edition)
- 步步驚“芯”
- 空間機器人智能感知技術
- 設計模式
- Generative Adversarial Networks Projects
- MySQL Management and Administration with Navicat
- 電機與電力拖動