Install Tensorflow Metal on Intel Macbook Pro with AMD GPU
Use Tensorflow with GPUs on Mac with the official Apple plugins.
This is based on my experience and it may not work for your machine. Please use it at your own risk. I cannot take responsibility for any harm done to your computer.