How to use GPU with tensorflow on PX2?

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

Dear lulwen,

Could you please refer to the following link for your topic? Thanks.

https://developer.nvidia.com/driveworks/files/DRIVEPX2_AppNote_TensorFlow_1_0_Docker_Container