Click or drag to resize
VariableConstantT Method (IListIListT, Range, Range)
Microsoft Research
Defines a constant which is a 2-D jagged array.

Namespace: MicrosoftResearch.Infer.Models
Assembly: Infer.Compiler (in Infer.Compiler.dll) Version: 2.6.41128.1 (2.6.41128.1)
Syntax
public static VariableArray<VariableArray<Variable<T>, IList<T>>, IList<IList<T>>> Constant<T>(
	IList<IList<T>> value,
	Range r1,
	Range r2
)

Parameters

value
Type: System.Collections.GenericIListIListT
The constant list of lists.
r1
Type: MicrosoftResearch.Infer.ModelsRange
The range associated with the first index.
r2
Type: MicrosoftResearch.Infer.ModelsRange
The range associated with the second index.

Type Parameters

T
The element type.

Return Value

Type: VariableArrayVariableArrayVariableT, IListT, IListIListT
A new constant jagged array variable.
See Also