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

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
主站蜘蛛池模板: 久治县| 阿合奇县| 海原县| 高台县| 梅河口市| 遂昌县| 诏安县| 如皋市| 永年县| 乌苏市| 蓝山县| 芜湖市| 南华县| 宁波市| 武乡县| 武夷山市| 萝北县| 石河子市| 抚州市| 丰原市| 古田县| 乳山市| 贺兰县| 巨鹿县| 宜黄县| 徐闻县| 易门县| 清水河县| 静安区| 台江县| 昭苏县| 华池县| 吉林省| 乌海市| 安泽县| 康乐县| 北流市| 株洲市| 德安县| 信丰县| 博湖县|