probability icon indicating copy to clipboard operation
probability copied to clipboard

How to save a tfp.distributions.JointDistributionNamed for reuse

Open statmike opened this issue 3 years ago • 1 comments

Is there a way to save a tfp.distributions.JointDistributionNamed for import in other models?

statmike avatar Oct 13 '21 02:10 statmike

I created a related issue here: #1494 that is related. What I have done before is write a getstate where I convert all the tf.Tensor variables to numpy and a setstate where I cast the numpy to tf.Tensor and assign to variables.

jcalifornia avatar Jan 13 '22 13:01 jcalifornia