Aditya Chatterjee's Blog, page 3
October 12, 2024
slice_scatter op in PyTorch
i. Key Features
ii. Basic Usage
iii. Advanced Applications
iv. CautionAlternativesConclusionIntroduction
torch.slice_scatter is a tensor manipulation function in PyTorch that allows us to embed values from one tensor into another at specified locations. This operation generates a new tensor with fresh storage rather than modifying the original tensor. This capability is particularly useful for various data processing tasks in both deep learning and machi...
Designing ResNet50 in PyTorch
i. Key contributions
ii. ResNet verisonsKey componentsPrerequisitesImplementationConclusionIntroduction
As the number of layers increase in a CNN architecture, the more chances of exploding gradient problem and degradation in performance. In order to avoid this, the residual network was introduced in a research paper published by the Microsoft Research team.
The dataset used in this implementation is the Apple Leaf Disease Dataset from K...
Unleashing the Power of .td Files: TableGen
TableGen is a widely used domain-specific language (DSL) within the LLVM compiler infrastructure. It offers a simple and organized method for specifying advanced data structures including but not limited to instruction sets, registers, and code generation and optimization patterns. The .td files are the most significant part of this language since they enable developers to write less or no boilerplate code, thus simplifying and cleansing the code base.
In this OpenGenus article, we cover some of...
October 3, 2024
A Beginner's Guide to Kubernetes
In this OpenGenus article, we have explored the topic Kubernetes from scratch with real life example.
Table of Contents:What is Kubernetes?What Is All the fuss about Kubernetes?Key components of Kubernetes?Real Life Example Importance of KubernetesQuestionThe Engine Behind Modern Cloud ApplicationsIf you've been around tech conversations, you've probably heard the word Kubernetes thrown around quite a bit. But what exactly is it, and why is it such a big deal? Let’s break it down in simple terms ...
Light as a Feather: The Art of the Flyweight Pattern
In this OpenGenus article, we'll unravel the nuts and bolts of the Flyweight Pattern, exploring how it reduces memory footprint while optimizing performance.
Table of ContentsIntroductionUnderstanding the ProblemThe Flyweight SolutionImplementationCommon Use CasesLimitationsTest your KnowledgeKey TakeawaysIntroductionThe flyweight pattern is a structural design pattern that focuses on reusing already existing objects rather than making new instances each time. This pattern empowers pr...
Kolmogorov-Arnold Networks
Kolmogorov-Arnold Networks (KANs) have emerged as a promising advancement in the field of neural networks, offering enhanced interpretability, efficiency, and adaptability compared to traditional architectures like the Multi-Layer Perceptron (MLPs).
Brief intro to MLPsMLPs, or Multi-Layer Perceptrons, are an important part of current neural networks. They are made up of layers of nodes, or "neurons," that are linked to each other and are meant to learn from data and approximate complex, nonlin...
September 27, 2024
Implementing Simple CNN model in PyTorch
Neural networks and deep learning are transforming artificial intelligence, automating complex tasks and enabling machines to learn from data like never before. In this OpenGenus article, we will learn about implementing a simple CNN model using PyTorch Deep Learning framework.
Table of contents:
Understanding AIIntroduction to Machine Learning and Deep LearningNeural Networks and its componentsNeural Networks vs. Deep LearningTypes of Neural NetworksConvolutional Neural Networks (CNNs)A ...Internal Implementation of Tensors in PyTorch
Tensors serve as the fundamental data structure in PyTorch, enabling efficient computation and manipulation of multi-dimensional arrays. Understanding the underlying implementation of tensors is crucial for comprehending PyTorch's computational graph execution, automatic differentiation, and GPU acceleration capabilities.
In this OpenGenusarticle, we'll delve into the internals of how tensors are implemented in PyTorch, referencing the code from various components of the PyTorch source code repo...
Understanding DOM Parsing and Serialization Techniques
1.Introduction
2.What is DOM Parsing?
3.Types of DOM Parsers
4.Advantages of DOM Parsing
5.DOM Parsing Techniques
6.Optimizing DOM Parsing Performance
7.What is Serialization
8.Importance of serialization in Web Development
9.Common Serialization Formats
10.Serialization Methods
11.Best Practices for Serialization
12.Challenges in DOM Parsing and Serialization
13.DOM Parsing development example
14.Key takeways
Understanding DOM parsing and serialization techniques ...
.ts video file format and its use in streaming services

You might have seen a “.ts” video file format on your computer when you saved files from your DVD to your computer or another storage. TS stands for Transport Stream, you will notice it by the file extension ".ts" in video files such as DVD, and it’s also used for streaming digital videos online. In this OpenGenus article, we will dive into this video file format and get into more details in the context of video streaming services.
Table of ContentsWhat is TS File Format?Comparison with MP4...

