标签: tensorflow tensorflow-probability
我想在TensorFlow中实现模型的随机变体。 我已经检查了源代码,但想确认渐变
TensorFlow
DO 流经变量 x ,其中 x =“ normal” .sample()。
原因是函数 sample() 使用了重新参数化
sample()
技巧* x =平均值+ sigma *噪声(0,1)*
。
我的理解正确吗?