How To Create Sum Of Different Kernel Objects In Tensorflow Probability?
I have one question about specifying kernel function in Tensorflow-probability. Usually, if I want to create a kernel object, I will write import tensorflow as tf import tensorflow
Solution 1:
You can just write k_sum = k1 + k2
! Check out the base class PositiveSemidefiniteKernel, where we've overridden the addition and multiplication operators, of you want to see how it works.
Post a Comment for "How To Create Sum Of Different Kernel Objects In Tensorflow Probability?"