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

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
主站蜘蛛池模板: 高清| 通化县| 兰西县| 通山县| 石城县| 离岛区| 新乡市| 明光市| 苏尼特左旗| 宝丰县| 桑植县| 靖宇县| 洪雅县| 洮南市| 巴南区| 阜城县| 清涧县| 金门县| 琼结县| 齐齐哈尔市| 六盘水市| 安福县| 重庆市| 浦东新区| 盐源县| 曲阳县| 昌图县| 社旗县| 金阳县| 行唐县| 安溪县| 峡江县| 新昌县| 金坛市| 和平县| 杭锦旗| 南京市| 集安市| 阿城市| 鸡东县| 皋兰县|