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

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
主站蜘蛛池模板: 滨州市| 五河县| 商水县| 西华县| 南充市| 崇州市| 界首市| 永丰县| 五原县| 浮山县| 临城县| 县级市| 澄城县| 通许县| 常州市| 黑山县| 五河县| 荆门市| 寻甸| 烟台市| 休宁县| 彰化县| 东乡族自治县| 信阳市| 富宁县| 平顶山市| 兰坪| 黄冈市| 银川市| 合川市| 称多县| 平利县| 西林县| 界首市| 西和县| 高密市| 宣城市| 荥经县| 襄汾县| 黄山市| 博罗县|