How to Speed up training process with gpu ( Image classification )

I was following this guide from C# to build a image classification model.
Everything works well until i see that it is only utilizing cpu to train but i wanted to train on gpu how can i do ?
i had a database of near 1.8gb and it took 3 hours to train which is really long

https://learn.microsoft.com/en-us/samples/dotnet/machinelearning-samples/mlnet-image-classification-transfer-learning/
Use transfer learning to train a deep learning image classification model with ML.NET and TensorFlow
Was this page helpful?