tf.contrib.distributions.Bernoulli.param_shapes()

tf.contrib.distributions.Bernoulli.param_shapes(cls, sample_shape, name='DistributionParamShapes')

Shapes of parameters given the desired shape of a call to sample().

Subclasses should override static method _param_shapes.

Args:
  • sample_shape: Tensor or python list/tuple. Desired shape of a call to sample().
  • name: name to prepend ops with.
Returns:

dict of parameter name to Tensor shapes.

doc_TensorFlow
2016-10-14 12:45:17
Comments
Leave a Comment

Please login to continue.