How to score "normality" of given vector?

I have an encoder what compress sample to 100d vector.
And I have gan what generate samples from 100d vector sampled from normal distribution.
So I want to enforce the first model to output values like from normal distribution.
Should i just use loss = KLDivLoss(x, y) ?