Search Results for

    Show / Hide Table of Contents

    Class DistributedSchedule

    When attached to a Sequential Range, specifies which indices should be processed by each thread

    Inheritance
    Object
    DistributedSchedule
    Implements
    ICompilerAttribute
    Inherited Members
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Object.ReferenceEquals(Object, Object)
    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
    Overrides
    Object.ToString()

    Implements

    ICompilerAttribute
    In This Article
    Back to top Copyright © .NET Foundation. All rights reserved.