I work in an environment in which computational resources are shared, i.e., we have a few server machines equipped with a few Nvidia Titan X GPUs each.
For small to m
config = tf.ConfigProto() config.gpu_options.allow_growth=True sess = tf.Session(config=config)
https://github.com/tensorflow/tensorflow/issues/1578