- Mastering TensorFlow 1.x
- Armando Fandango
- 94字
- 2021-06-25 22:50:57
Soft placement
When you place a TensorFlow operation on the GPU, the TF must have the GPU implementation of that operation, known as the kernel. If the kernel is not present then the placement results in run-time error. Also if the GPU device you requested does not exist, you will get a run-time error. 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 n error. This can be achieved by setting the following config value:
config.allow_soft_placement = True
推薦閱讀
- Learning SQL Server Reporting Services 2012
- ATmega16單片機項目驅動教程
- 顯卡維修知識精解
- 現代辦公設備使用與維護
- 深入淺出SSD:固態存儲核心技術、原理與實戰(第2版)
- 從零開始學51單片機C語言
- 微軟互聯網信息服務(IIS)最佳實踐 (微軟技術開發者叢書)
- 單片機系統設計與開發教程
- 電腦組裝與維護即時通
- Spring Security 3.x Cookbook
- Drupal Rules How-to
- 計算機組成技術教程
- Corona SDK Mobile Game Development:Beginner's Guide
- Advanced Machine Learning with R
- 詳解FPGA:人工智能時代的驅動引擎