Here’s the Deal
Slant is powered by a community that helps you make informed decisions. Tell us what you’re passionate about to get your personalized feed and help others.
Theano is a Python library which is very well adapted for numerical tasks often encountered when dealing with deep learning. What makes it well adapted for those tasks is the fact that it combines several paradigms for numerical computations, namely: matrix operations symbolic variable and function definitions Just-in-time compilation to CPU or GPU machine code See More
Theano is one of the oldest deep learning libraries out there and a lot of other widely used libraries have been built on top of it. But Theano heavily relies on the mathematical side of deep learning and data discovery, having similar features to NumPy or Matlab. This is why it's usually used with other libraries in order to achieve a higher level of abstraction. See More
Since all variables are actually symbolic variables, you need to define a function and fill in the values in order to get a value. For example: # X, y and w are a matrix and vectors respectively # E is a scalar that depends on the above variables # to get the value of E we must define: Efun = theano.function([X,w,y], E,allow_input_downcast=True) While this seems like an unnecessary step, it's actually not. Since Theano now has a representation of the whole expression graph for the Efun function, it can compile and optimize the code so that it can run on both CPU and GPU. See More
Torch is a scientific computing framework for Lua programming language. This is both an advantage and disadvantage of the framework. Lua is lightweight, relatively easy to learn and extremely fast. However, it is not common among researchers or among commercial developers, and the need to learn a new programming language often forces developers to look for alternatives. Torch includes pre-trained models, modules, and ready functionality, making the development of neural networks much easier and faster. You will also appreciate the flexibility delivered by this tool. Torch is open-source and therefore very popular. Industry giants like Facebook, Google, Twitter, IBM and Yandex have used it to create their AI projects. Recently, this artificial intelligence framework was extended for use on iOS and Android. Read more about this tools in this article https://clockwise.software/blog/artificial-intelligence-framework See More
Полина Полухина's Experience