How to get Empirical samples after inference?


#1

qw is defined as
qw = Empirical(params=tf.Variable(tf.random_normal([n_samples,5])))
after infernece by ed.SGHMC, how to get all the samples of qw in an array?
I have tried, qw.sample, qw.value, but both don’t work.


#2

It seems qw.params.eval() work