Introduction
The best way to understand how things work is to build them by yourself. I believe implementing deep learning in Rust is a great way to develop a strong understanding in deep learning while enjoying t
Search for a command to run...
Series
Learn deep learning by building it from scratch in Rust using Burn only for tensors. We’ll implement activations, losses, backprop, and optimizers step by step to understand how neural networks truly work.
The best way to understand how things work is to build them by yourself. I believe implementing deep learning in Rust is a great way to develop a strong understanding in deep learning while enjoying t
As you begin your implementation, the first thing you will encounter is the tensor. In order to know how deep learning works, you must understand this fundamental structure. A tensor is simply a multi
Now that we've seen tensors, it's time to start building the deep learning process. The first thing we need is a dataset for training. Instead of using pre-made dataset, we are going to build our own
Now that our dataset is ready, we are ready to start building the components of our neural network. But before wejump into the code, let’s pause for a moment to define what deep learning actually is.
So far, we have implemented our dataset, layers, and an initializer. Now, it’s time to combine them and start shaping an actual neural network. Before we get to the code, let’s first walk through the
With our dataset prepared and our model's architecture ready, we are at starting point of deep learning. The first part is the forward pass. In this part, we will implement the entire forward pass fro