tf.contrib.distributions.Bernoulli.param_static_shapes()

tf.contrib.distributions.Bernoulli.param_static_shapes(cls, sample_shape)

param_shapes with static (i.e. TensorShape) shapes.

Args:
  • sample_shape: TensorShape or python list/tuple. Desired shape of a call to sample().
Returns:

dict of parameter name to TensorShape.

Raises:
  • ValueError: if sample_shape is a TensorShape and is not fully defined.
doc_TensorFlow
2016-10-14 12:45:19
Comments
Leave a Comment

Please login to continue.