tf.contrib.bayesflow.stochastic_tensor.SampleAndReshapeValue.__init__(n=1, stop_gradient=False)
Sample n times and reshape the outer 2 axes so rank does not change.
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.