Class Cut
Cut factor methods
Inherited Members
Namespace: Microsoft.ML.Probabilistic.Factors
Assembly: Microsoft.ML.Probabilistic.dll
Syntax
public static class Cut
Methods
Backward<T>(T)
Copy a value and cut the backward message (it will always be uniform).
Declaration
public static T Backward<T>(T value)
Parameters
Type | Name | Description |
---|---|---|
T | value | The value to return. |
Returns
Type | Description |
---|---|
T | The supplied value. |
Type Parameters
Name | Description |
---|---|
T | The type the input value. |
ForwardWhen<T>(T, Boolean)
Copy a value and cut the forward message when shouldCut
is true.
Declaration
public static T ForwardWhen<T>(T value, bool shouldCut)
Parameters
Type | Name | Description |
---|---|---|
T | value | |
Boolean | shouldCut |
Returns
Type | Description |
---|---|
T |
Type Parameters
Name | Description |
---|---|
T |