Get information about resources available from tensorflow with following code, this needs to be executed with python

from tensorflow.python.client import device_lib
device_lib.list_local_devices()

this will hopefully return some readable information

references

StackOverflow