What do the options in ConfigProto like allow_soft_placement and log_device_placement mean?

后端 未结 4 1714
攒了一身酷
攒了一身酷 2020-12-13 06:24

We see this quite often in many of the TensorFlow tutorials:

sess = tf.Session(config=tf.ConfigProto(allow_soft_placem         


        
4条回答
  •  余生分开走
    2020-12-13 07:24

    In simple words:

    allow_soft_placement allows dynamic allocation of GPU memory,

    log_device_placement prints out device information

提交回复
热议问题