Click or drag to resize
VariableObservedT Method (T, Range, Range, Range)
Microsoft Research
Creates a jagged variable array and observes it.

Namespace: MicrosoftResearch.Infer.Models
Assembly: Infer.Compiler (in Infer.Compiler.dll) Version: 2.6.41127.1 (2.6.41127.1)
Syntax
public static VariableArray<VariableArray<VariableArray<T>, T[][]>, T[][][]> Observed<T>(
	T[][][] observedValue,
	Range r1,
	Range r2,
	Range r3
)

Parameters

observedValue
Type: T
The observed value
r1
Type: MicrosoftResearch.Infer.ModelsRange
The range used for the first index
r2
Type: MicrosoftResearch.Infer.ModelsRange
The range used for the second index
r3
Type: MicrosoftResearch.Infer.ModelsRange
The range used for the third index

Type Parameters

T
The type of the observed array elements.

Return Value

Type: VariableArrayVariableArrayVariableArrayT, T, T
A new variable
Remarks
The variable is not constant; its ObservedValue can be changed.
See Also