I have a code segment from this repo:
I am reading a paper about Soft Actor-Critic, a reinforcement learning algorithm. They have you sample from a Gaussian Log distribution. I believe that would mean you use the PDF to sample from. I am making a lot of assumptions, so please correct me.
I found this post discussing taking a multivariate Gaussian pdf, making it log Gaussian.
The problem is that equation listed doesn't seem to match the code.
Maybe I'm barking up the wrong tree.If I need to be more concise or give more information please let me know. Any direction would be so awesome.
To clarify, I'm trying to figure out where the code is pulling the formula for Gaussian log prob if it doesn't match the PDF.