In my case it wasn’t a total freeze but rather just a massive slowdown. It would happen at random, especially in Desktop mode when I had too many things open. My device is a ROG Ally Z1 Extreme (16 GB of unified memory), Bazzite in gaming mode.
I permanently solved the issue by simply adding a bit of swap memory.














Adjusting the weights is how training works.
If you are thinking about adjusting the number of weights, that’s also a technique. The issue is that (afaik) it can only be trained through genetic algorithms, which take longer than backpropagation.
(This information might be incomplete/incorrect.)