I would suggest not trying to compare tensorflow to pytorch. I assume you have built neural networks from scratch before and if so use that knowledge of how to, to how that can be done in pytorch.
The tutorials here will help a lot too:
http://pytorch.org/tutorials/beginner/deep_learning_60min_blitz.html 351
I hope that helps:grin: