Categoría: programming
-
Should Machine Learning Engineers Write Unit Tests?
If you are looking for a tl;dr, the answer is yes. I somehow seem to run into engineers fairly frequently that think there is nothing to test in machine learning code or at least can’t imagine where one might need a test. Generally speaking, the argument is something like “It’s just a model. You just…
-
Libtorch GPU Training and How to Use MPS
Arguably the most useful feature of deep learning libraries is their ability to move workloads to the GPU and PyTorch makes it very easy for users by providing a to() function that you can pass a device object to. The documentation doesn’t make it very clear about it, but actually Libtorch makes it just as…
-
¿Has Pensado en Usar un Namespace en C++?
As someone originally coming from Python and then learning C++ later, namespaces were a new concept to me. For the longest time, I was interacting with the ones in the standard library, but not really writing my own. However, at one point I was working on a personal project (an emulator if you are interested!)…