I tried to use GPU as follows:
with tf.device('/gpu:-'):
.....
But it outputs that:
InvalidArgumentError: Cannot assign a device for operation loss: Could not satisfy explicit device specification '/device:0' because no supported kernel for GPU devices is available