Assignment No.1: Theory
Assignment No.1: Theory
Title: Study of Deep learning Packages: Tensorflow, Keras, Theano and PyTorch. Document
the
distinct features and functionality of the packages.
Aim: Study and installation of following Deep learning Packages:
i. Tensor Flow
ii. Keras
iii. Theno
iv. PyTorch
Theory:
1. TensorFlow
Key Features:
Pros:
• Rich ecosystem with tools for model building, training, serving, and deployment.
• Good community support and extensive documentation.
• Suitable for large-scale, distributed training.
• Continuous updates and improvements by Google.
Cons:
2. Keras
Key Features:
• User-friendly API: Keras is known for its simple, intuitive, and easy-to-learn API.
It’s especially beneficial for beginners and rapid prototyping.
• Runs on top of other backends: Initially, Keras supported multiple backends such as
Theano, TensorFlow, and CNTK. However, from version 2.3 onwards, Keras is
integrated as an official part of TensorFlow.
• High-level library: Keras provides high-level building blocks for designing deep
learning models, like layers, loss functions, and optimizers, while hiding the
complexities of the underlying implementations.
• Modularity and composability: Every model in Keras is a sequence or a graph of
standalone modules that can be combined in different ways.
• Wide support for model types: It supports both Convolutional Neural Networks
(CNNs) and Recurrent Neural Networks (RNNs), as well as their combinations.
• Pre-trained models: Keras offers easy access to pre-trained models through the
keras.applications module.
Pros:
Cons:
3. Theano
Pros:
Cons:
4. PyTorch
Key Features:
Cons: