Facebook will be pushing out a new version of PyTorch It seems to be the second most popular machine learning framework out there. It include Python machine learning native code.
Torch Script works one of two ways. New code can be written using the Torch Script language, which by design can compile readily to native code. It’s also possible to take existing Python code, decorate it with the @torch.jit.trace decorator, and have it just-in-time compiled to native code. However, this is not as effective as using Torch Script….
Another commonly used package, Cython, allows Python to be turned incrementally into C by way of custom syntax declarations. Cython can work with the whole range of Python and C types alike, as well as all of Python’s syntax, but Torch Script is restricted to operations on PyTorch tensors, integers, and floating-point numbers. And Torch Script can’t use constructions like exceptions.
Maybe I should I just stick with Tensor Flow 2 coming out in Dec or Jan? It seems to be gaining more popularity vs PyTorch. It should be just as easy to work with for us newbies.
I question the future
I would also like to predict this PyTorch scripting language may be tough to see in the long term. That is is of course with ‘let’s abandon everything’ Microsoft hat on.
FACEBOOK ACCOUNT and TWITTER. Don't worry as I don't post stupid cat videos or what I eat!