tf.contrib.bayesflow.stochastic_tensor.SampleValue.__init__()

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: If True, StochasticTensors' values are wrapped in stop_gradient, to avoid backpropagation through.
doc_TensorFlow
2016-10-14 12:44:22
Comments
Leave a Comment

Please login to continue.