Class GroupMember
Group member attribute - attached to MSL variables based on inference engine groups
Implements
Inherited Members
Namespace: Microsoft.ML.Probabilistic.Models.Attributes
Assembly: Microsoft.ML.Probabilistic.Compiler.dll
Syntax
[AttributeUsage(AttributeTargets.All, AllowMultiple = true)]
public class GroupMember : Attribute, ICompilerAttribute
Constructors
GroupMember(VariableGroup, Boolean)
Creates a group member attribute on a variable
Declaration
public GroupMember(VariableGroup vg, bool isRoot)
Parameters
Type | Name | Description |
---|---|---|
VariableGroup | vg | The variable group |
Boolean | isRoot | Whether this variable is the root of the group |
Fields
Group
The associated variable group
Declaration
public VariableGroup Group
Field Value
Type | Description |
---|---|
VariableGroup |
IsRoot
This variable is a root in this group
Declaration
public bool IsRoot
Field Value
Type | Description |
---|---|
Boolean |
Methods
ToString()
Returns a string representation of this group member attribute.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
String |