Vishal Ranjan·Jul 6, 2024Understanding Transformers: Implementing self-attention in pyTorchIn the rapidly advancing field of deep learning, self-attention mechanisms have revolutionized the way models process sequential data. This…
Vishal Ranjan·Jun 17, 2024Python Bytes: Deep Copy vs Shallow CopyIn Python, copying objects is a common task that can sometimes be confusing due to the existence of two types of copies: shallow and deep…
Vishal Ranjan·Jun 16, 2024Python Bytes: Mutables vs ImmutablesCan you answer this question: If a Python object is modified inside a function, will it reflect the updated values when printed outside the…
Vishal Ranjan·Sep 17, 2023Adversarial attacks: A detailed review — Part 2In previous part, we understood what is and adversarial attack and how it can be classified based on various attributes. (In case you…
InSubex AI LabsbyVishal Ranjan·Jan 9, 2023Adversarial attacks: A detailed review — Part 1Deep Learning has proven to be a very efficient tool in recent times when it comes to solve challenging problems across various fields…