tf.contrib.distributions.BernoulliWithSigmoidP.sample_n(n, seed=None, name='sample_n')
Generate n
samples.
Args:
-
n
:Scalar
Tensor
of typeint32
orint64
, the number of observations to sample. -
seed
: Python integer seed for RNG -
name
: name to give to the op.
Returns:
-
samples
: aTensor
with a prepended dimension (n,).
Raises:
-
TypeError
: ifn
is not an integer type.
Please login to continue.