docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method StartManualSchedule

    StartManualSchedule(IDictionary<string, Tensor>)

    Sets multiple tensors as the inputs of the model and schedules execution of the model one layer at a time. This is non-blocking.

    To schedule execution of the next layer of the model, call MoveNext on the IEnumerator object this method returns.

    Declaration
    public virtual IEnumerator StartManualSchedule(IDictionary<string, Tensor> inputs)
    Parameters
    Type Name Description
    IDictionary<string, Tensor> inputs
    Returns
    Type Description
    IEnumerator

    The IEnumerator for scheduling manual execution.

    Implements
    IWorker.StartManualSchedule(IDictionary<string, Tensor>)

    StartManualSchedule(Tensor)

    Sets a tensor as the default input of the model and schedules execution of the model one layer at a time. This is non-blocking. For models with more than one input this sets the first input.

    To schedule execution of the next layer of the model, call MoveNext on the IEnumerator object this method returns.

    Declaration
    public virtual IEnumerator StartManualSchedule(Tensor input)
    Parameters
    Type Name Description
    Tensor input
    Returns
    Type Description
    IEnumerator

    The IEnumerator for scheduling manual execution.

    Implements
    IWorker.StartManualSchedule(Tensor)

    StartManualSchedule()

    Schedules the execution of the model one layer at a time. This is non-blocking.

    To schedule the execution of the next layer of the model, call MoveNext on the IEnumerator object this method returns.

    Declaration
    public virtual IEnumerator StartManualSchedule()
    Returns
    Type Description
    IEnumerator

    The IEnumerator for scheduling manual execution.

    Implements
    IWorker.StartManualSchedule()
    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)