📌  相关文章
📜  无法创建 cudnn 句柄:CUDNN_STATUS_INTERNAL_ERROR - C 编程语言代码示例

📅  最后修改于: 2022-03-11 15:04:36.230000             🧑  作者: 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)