rand_bernoulli: Random Bernoulli Distribution

Description Usage Arguments

Description

Generates samples from the Bernoulli distribution with success probability mean.

Usage

1
2
rand_bernoulli(shape, dtype = default_override_or(np$float32), mean = 0.5,
  seed = AUTO_SELECT_SEED, name = "")

Arguments

shape

- list of ints representing tensor shape

dtype

- data type to be used ("float32", "float64", or "auto")

mean

- success probability

seed

- pseudo random number generator seed

name

- name of the Function instance in the network


Microsoft/CNTK-R documentation built on May 28, 2019, 1:52 p.m.