How could I access the implementation of the different loss and activation functions in pytorch?
I tried the obvious ‘show implementation’ (in PyCharm) but I hit a dead end since they look like stubs for C functions. I don’t mind if I have to look at C code, I just need to see how these functions are implemented. This is because I am using pytorch as reference to test my own nn implementation against, and I think some functions are being implemented slightly different than my implementation, leading to both nns diverging over large training sets.