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

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
主站蜘蛛池模板: 中阳县| 清河县| 右玉县| 昭苏县| 延长县| 正镶白旗| 小金县| 故城县| 新沂市| 阳西县| 新田县| 永安市| 吉林省| 叙永县| 谢通门县| 鱼台县| 建平县| 平凉市| 古田县| 囊谦县| 廊坊市| 大宁县| 县级市| 鹤庆县| 化隆| 肃宁县| 化德县| 绥芬河市| 拉萨市| 崇仁县| 仲巴县| 汤阴县| 丰原市| 巴楚县| 新野县| 宜兰市| 镇坪县| 威海市| 华阴市| 德惠市| 邵东县|