TensorFlow01:GPU和CPU运行

# 运行会话并打印设备信息
sess=tf.Session(config=tf.ConfigProto(allow_soft_placement=True,log_device_placement=Treu))

猜你喜欢

转载自www.cnblogs.com/jumpkin1122/p/11521028.html