pymc.variational.operators.KL.apply#

KL.apply(f)[source]#

Operator itself

\[(O^{p,q}f_{\theta})(z)\]
Parameters:
f: :class:`TestFunction` or None

function that takes z = self.input and returns same dimensional output

Returns:
TensorVariable

symbolically applied operator