Microsoft Research, Cambridge
Creates a discrete random variable with the specified probabilities of having value 0,1,...,(probs.Value.Length-1).

Declaration Syntax

Parameters
- probs (Variable<(Of <(Vector>)>))
- A variable holding the set of probabilities of having each value. Must add up to one.

Return Value
Discrete random variable
Assembly:
Infer.Compiler (Module: Infer.Compiler) Version: 2.3.41111.0 (2.3.41111.0)