Constructor Bernoulli
Bernoulli(string, string, DataType, float?)
Initializes and returns an instance of Bernoulli random layer.
Declaration
public Bernoulli(string name, string input, DataType dataType, float? seed)Parameters
| Type | Name | Description | 
|---|---|---|
| string | name | The name to use for the output tensor of the layer. | 
| string | input | The name to use for the probabilities tensor of the layer. | 
| DataType | dataType | The data type of the output as a  | 
| float? | seed | The optional seed to use for the random number generation. If this is  |