Class DistributedSchedule
When attached to a Sequential Range, specifies which indices should be processed by each thread
Implements
Inherited Members
Namespace: Microsoft.ML.Probabilistic.Models.Attributes
Assembly: Microsoft.ML.Probabilistic.Compiler.dll
Syntax
public class DistributedSchedule : ICompilerAttribute
Constructors
DistributedSchedule(Variable<ICommunicator>)
Create a new DistributedSchedule attribute
Declaration
public DistributedSchedule(Variable<ICommunicator> commExpression)
Parameters
Type | Name | Description |
---|---|---|
Variable<ICommunicator> | commExpression |
DistributedSchedule(Variable<ICommunicator>, Variable<Int32[][][][]>)
Create a new DistributedSchedule attribute
Declaration
public DistributedSchedule(Variable<ICommunicator> commExpression, Variable<int[][][][]> schedulePerThreadExpression)
Parameters
Type | Name | Description |
---|---|---|
Variable<ICommunicator> | commExpression | |
Variable<Int32[][][][]> | schedulePerThreadExpression | An observed variable of type int[][][][], whose dimensions are [distributedStage][thread][block][item]. Each thread must have the same number of blocks, but blocks can be different sizes. Must have at least one thread. |
DistributedSchedule(Variable<ICommunicator>, Variable<Int32[][]>)
Create a new DistributedSchedule attribute
Declaration
public DistributedSchedule(Variable<ICommunicator> commExpression, Variable<int[][]> scheduleExpression)
Parameters
Type | Name | Description |
---|---|---|
Variable<ICommunicator> | commExpression | |
Variable<Int32[][]> | scheduleExpression | An observed variable of type int[][], whose dimensions are [block][item]. |
Methods
ToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
String |