tf.contrib.bayesflow.stochastic_tensor.SampleValue.__init__(n=1, stop_gradient=False)
Sample n times and concatenate along a new outer dimension.
Args:
-
n: A python integer or int32 tensor. The number of samples to take. -
stop_gradient: IfTrue, StochasticTensors' values are wrapped instop_gradient, to avoid backpropagation through.
Please login to continue.