Which programming language was used to write the initial version of the PyTorch
The initial version of the PyTorch library grew out of Torch, an open-source machine learning library whose core was written in C and C++[1][2]. Around 2011, Torch was rewritten as Torch7, which used the Lua scripting language for its frontend with a C and C++ backend[3]. In mid-2016, developers at Facebook AI Research refactored it to create a Python-first framework, resulting in PyTorch[4].
As a quick historical tidbit, Torch was originally created in 2002 by the Idiap Research Institute[5][6] before its eventual transition into the Python-based PyTorch ecosystem in 2016[7].Ask a follow-upAnswer complete. One follow-up option available.
Let's look at alternatives:
- Modify the query.
- Start a new thread.
- Remove sources (if manually added).
Cite this article
If you use material from this article, please credit PandiPedia and link to the original.
PandiPedia. “Which programming language was used to write the initial version of the PyTorch” .