by mlajtos · 4y ago · 0 comments
Btw link to GitHub repo is broken. Copy&pasting URL works.
[0] https://pytorch.org/docs/stable/jit_language_reference.html#...
IMO it's a huge advantage to be able to write torch model code that looks like how you'd write the same program in pure python, and still have them be serializable.
But the author choose to make the TF logic more explicitly visible, and use abstractions like tf.Module (like torch.nn.Module), the dataset, etc. I'm not sure this really makes so much sense. I guess this is more for just playing around.