Class InferNet
Class used in MSL only.
Inherited Members
Namespace: Microsoft.ML.Probabilistic.Factors
Assembly: Microsoft.ML.Probabilistic.Compiler.dll
Syntax
public static class InferNet
Methods
Infer<T>(T)
Used in MSL to indicate that a variable will be inferred.
Declaration
public static void Infer<T>(T obj)
Parameters
Type | Name | Description |
---|---|---|
T | obj | A variable reference expression |
Type Parameters
Name | Description |
---|---|
T |
Infer<T>(T, String)
Used in MSL to indicate that a variable will be inferred under a specific name.
Declaration
public static void Infer<T>(T obj, string name)
Parameters
Type | Name | Description |
---|---|---|
T | obj | A variable reference expression |
String | name | The external name of the variable |
Type Parameters
Name | Description |
---|---|
T |
Infer<T>(T, String, QueryType)
Used in MSL to indicate that a variable will be inferred under a specific name and query type.
Declaration
public static void Infer<T>(T obj, string name, QueryType query)
Parameters
Type | Name | Description |
---|---|---|
T | obj | A variable reference expression |
String | name | The external name of the variable |
QueryType | query | The query type |
Type Parameters
Name | Description |
---|---|
T |
IsIncreasing(Int32)
Used in MSL to indicate that the loop counter is increasing in the currently executing loop.
Declaration
public static bool IsIncreasing(int loopCounter)
Parameters
Type | Name | Description |
---|---|---|
Int32 | loopCounter |
Returns
Type | Description |
---|---|
Boolean |