Comparing PyTorch to Tensorflow, Pytorch is:
- Easier to understand and more pythonic
- Easier to do non-standard or research applications
- Less support from the ecosystem
The main benefit for TensorFlow is the ecosystem and it is much more flexible in production use. You can choose either PyTorch or TensorFlow since the latest releases have seen these converge towards a more similar profile. You can check out this TensorFlow Tutorial by Intellipaat to learn the TensorFlow framework.
You can watch this video to understand more: