梯度可以流经(Tensorflow)tf.distributions.Normal sample()吗?

时间:2019-11-15 12:14:42

标签: tensorflow tensorflow-probability

我想在TensorFlow中实现模型的随机变体。
我已经检查了源代码,但想确认渐变

  

DO 流经变量 x ,其中 x =“ normal” .sample()

原因是函数 sample() 使用了重新参数化

  

技巧* x =平均值+ sigma *噪声(0,1)*

我的理解正确吗?

0 个答案:

没有答案