Click or drag to resize
VariableChar Method
Microsoft Research
Creates a character random variable defined by a discrete distribution induced by a given probability vector.

Namespace: MicrosoftResearch.Infer.Models
Assembly: Infer.Compiler (in Infer.Compiler.dll) Version: 2.7.1803.2803 (2.7.1803.2803)
Syntax
public static Variable<char> Char(
	Variable<Vector> probabilities
)

Parameters

probabilities
Type: MicrosoftResearch.Infer.ModelsVariableVector
The probability vector.

Return Value

Type: VariableChar
The created random variable.
See Also