📌  相关文章
📜  无法创建 cudnn 句柄:CUDNN_STATUS_INTERNAL_ERROR - 无论代码示例

📅  最后修改于: 2022-03-11 14:58:00.606000             🧑  作者: Mango

代码示例4
physical_devices = tf.config.experimental.list_physical_devices('GPU')
assert len(physical_devices) > 0, "Not enough GPU hardware devices available"
config = tf.config.experimental.set_memory_growth(physical_devices[0], True)