|
|
|
|
|
by J0-nas
3163 days ago
|
|
> A forward() function gets called when the Graph is run. Isn't that almost exactly the same in tensorflow? You'd run your model to generate an output, or/and run your optimization operation t optimize the model. > Based on some reviews, PyTorch also shows a better performance on a lot of models compared to TensorFlow. Citation needed. How good are the examples optimized? What does performance mean? Precision or learning iterations per second? If it's the later, in which environment? CPU/GPU/distributed computing? |
|
Yes, the idea behind it is the same. The difference: PyTorch has a forward() function in their module class which you have to override, while in TensorFlow you can specify that yourself.
> Based on some reviews, PyTorch also shows a better performance on a lot of models compared to TensorFlow.
E.g.
http://deeplearningathome.com/2017/06/PyTorch-vs-Tensorflow-...