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

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
主站蜘蛛池模板: 双江| 深泽县| 东莞市| 沂水县| 察隅县| 兴海县| 夏河县| 深泽县| 和静县| 临漳县| 密云县| 石河子市| 乡宁县| 碌曲县| 墨竹工卡县| 通化市| 息烽县| 金寨县| 高台县| 江阴市| 浙江省| 昌邑市| 三亚市| 泰来县| 富宁县| 武山县| 葫芦岛市| 定陶县| 许昌市| 南澳县| 溧水县| 陵川县| 天镇县| 漯河市| 孝义市| 郁南县| 万荣县| 广汉市| 固阳县| 正阳县| 乐山市|