3 ms·
TF2.0 (and in particular their recommended tf.keras) is simply a clone of the Pytorch API in most respects. There is no reason to use it vs just using Pytorch,
by lalaland1125 7y ago
TF2.0 (and in particular their recommended tf.keras) is simply a clone of the Pytorch API in most respects. There is no reason to use it vs just using Pytorch, especially as Pytorch now support easy model exporting for running in production.
- kuu 7y agoUhm I would think that the tf.keras API is a clone of Keras (I mean, Keras was made by a Google Engineer!!)... which came before Pytorch
- lalaland1125 7y agotf.keras contains a deprecated API that was the original keras as well as a new API that basically is a clone of Pytorch. You can tell the difference because only the new API works nicely with eager mode.
- disgruntledphd2 7y agoAnd the torch API has been around for a looooonnng time, as Pytorch is a re-implementation of Torch, which was written in Lua: http://torch.ch/ http://torch.ch/