Why you should choose PyTorch over Tensorflow in your researches

Why you should choose PyTorch over Tensorflow in your researches

  1. Iteration time is faster in PyTorch, Because of deferred execution model everything takes longer in TF
  2. More integrated with numpy
  3.  Primarily debugging: As a researcher you care a lot about turnaround time and debugging time of your models.
  4. It’s much easier to build dynamic graphs in PyTorch right now which allows for a certain class of models to be implemented much faster and simpler
  5. TF is geared towards static graphs with quite clunky and difficult to use and debug dynamic constructs
  6.  For lower-level developer perspective, developing custom operations is much simpler/faster in PyTorch
  7. TF custom ops require a lot more boilerplate code and the source is much harder to navigate
  8. The documentation for internal/C++ API is nowhere near as good as the Python which makes building custom operations in TF extra costly.
  9. TF is a solid piece of engineering, it’s overall lack of pursuit of simplicity/Ockham’s razor in it’s design is evident throughout the entire framework and it’s use.
  10. Tensorflow is a solid piece of engineering, it’s overall lack of pursuit of simplicity/Ockham’s razor in it’s design is evident throughout the entire framework and it’s use.

要查看或添加评论,请登录

Ali Abbaszadeh的更多文章

社区洞察