Class SkipIfAnyUniformAttribute
The result is uniform (or an exception would be thrown) if any element is uniform, hence the function call can be skipped.
Inherited Members
Namespace: Microsoft.ML.Probabilistic.Factors.Attributes
Assembly: Microsoft.ML.Probabilistic.dll
Syntax
public class SkipIfAnyUniformAttribute : Attribute
Remarks
Applies to message function array parameters. This annotation is optional and allows the inference engine to skip unnecessary function calls, i.e. ones which would produce a uniform result or throw an exception. When applied to an array parameter, it means that the result is uniform (or an exception would be thrown) whenever any dependent element in the array is uniform. Array elements that the function does not depend on are ignored. When applied to a parameter that is not an array, it has the same meaning as SkipIfUniform.