Hands-On Artificial Intelligence for Beginners
上QQ阅读APP看书,第一时间看更新

Wrapping up

So, what is the best library to use? As you can see in the following screenshot, one benchmark places PyTorch firmly in the lead when compared with other deep learning libraries when running an ANN:

Ultimately, your choice of library mostly comes down to personal preference; however, in general: 

  • Keras: Best for beginners or those looking to do quick and dirty work on ANNs 
  • TensorFlow: Widely used, there are great code bases and tutorials available online and it is widely integrated into cloud machine images and all types of computing frameworks 
  • PyTorch: Provides exceptional speed and ease of use, but is largely still underdeveloped, with fewer resources available