tf.contrib.distributions.Categorical.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 tosample()
. -
name
: name to prepend ops with.
Returns:
dict
of parameter name to Tensor
shapes.
Please login to continue.