docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class WorkerExtensions

    Provides extension methods for the IWorker interface.

    Inheritance
    object
    WorkerExtensions
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Unity.Sentis
    Assembly: solution.dll
    Syntax
    public static class WorkerExtensions

    Methods

    Name Description
    ExecuteAndDownloadOutputsAsync(IWorker, Dictionary<string, Tensor>, List<string>)

    Execute model and returns a CPU copy of all outputs. This is a non blocking call.

    ExecuteWorker(CommandBuffer, IWorker, Dictionary<string, Tensor>)

    Non-blocking API that schedules network execution on CommandBuffer in one go.

    ExecuteWorker(CommandBuffer, IWorker, Tensor)

    Non-blocking API that schedules network execution on CommandBuffer in one go.

    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)