Class DeprecatedWorkerExtensions | Barracuda | 1.0.4
docs.unity3d.com
    Show / Hide Table of Contents

    Class DeprecatedWorkerExtensions

    Inheritance
    Object
    DeprecatedWorkerExtensions
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: Unity.Barracuda
    Syntax
    public static class DeprecatedWorkerExtensions

    Methods

    AddInput(IWorker, String, Tensor)

    Declaration
    [Obsolete("Use SetInput instead.", false)]
    public static void AddInput(this IWorker worker, string name, Tensor x)
    Parameters
    Type Name Description
    IWorker worker
    String name
    Tensor x

    AddInput(IWorker, Tensor)

    Declaration
    [Obsolete("Use SetInput instead.", false)]
    public static void AddInput(this IWorker worker, Tensor x)
    Parameters
    Type Name Description
    IWorker worker
    Tensor x

    ExecuteAndWaitForCompletion(IWorker, IDictionary<String, Tensor>)

    Declaration
    [Obsolete("Use Execute followed by CopyOutput and PrepareCacheForAccess instead.", false)]
    public static Tensor ExecuteAndWaitForCompletion(this IWorker worker, IDictionary<string, Tensor> inputs)
    Parameters
    Type Name Description
    IWorker worker
    IDictionary<String, Tensor> inputs
    Returns
    Type Description
    Tensor

    ExecuteAndWaitForCompletion(IWorker, Tensor)

    Declaration
    [Obsolete("Use Execute followed by CopyOutput and PrepareCacheForAccess instead.", false)]
    public static Tensor ExecuteAndWaitForCompletion(this IWorker worker, Tensor input)
    Parameters
    Type Name Description
    IWorker worker
    Tensor input
    Returns
    Type Description
    Tensor

    ExecuteAsync(IWorker)

    Declaration
    [Obsolete("Use StartManualSchedule instead.", false)]
    public static IEnumerator ExecuteAsync(this IWorker worker)
    Parameters
    Type Name Description
    IWorker worker
    Returns
    Type Description
    IEnumerator

    ExecuteAsync(IWorker, IDictionary<String, Tensor>)

    Declaration
    [Obsolete("Use StartManualSchedule instead.", false)]
    public static IEnumerator ExecuteAsync(this IWorker worker, IDictionary<string, Tensor> inputs)
    Parameters
    Type Name Description
    IWorker worker
    IDictionary<String, Tensor> inputs
    Returns
    Type Description
    IEnumerator

    ExecuteAsync(IWorker, Tensor)

    Declaration
    [Obsolete("Use StartManualSchedule instead.", false)]
    public static IEnumerator ExecuteAsync(this IWorker worker, Tensor input)
    Parameters
    Type Name Description
    IWorker worker
    Tensor input
    Returns
    Type Description
    IEnumerator

    Fetch(IWorker)

    Declaration
    [Obsolete("Use CopyOutput instead.", false)]
    public static Tensor Fetch(this IWorker worker)
    Parameters
    Type Name Description
    IWorker worker
    Returns
    Type Description
    Tensor

    Fetch(IWorker, String)

    Declaration
    [Obsolete("Use CopyOutput instead.", false)]
    public static Tensor Fetch(this IWorker worker, string name)
    Parameters
    Type Name Description
    IWorker worker
    String name
    Returns
    Type Description
    Tensor

    FetchAndTakeOwnership(IWorker)

    Declaration
    [Obsolete("Use PeekOutput followed by TakeOwnership or DeepCopy instead.", false)]
    public static Tensor FetchAndTakeOwnership(this IWorker worker)
    Parameters
    Type Name Description
    IWorker worker
    Returns
    Type Description
    Tensor

    FetchAndTakeOwnership(IWorker, String)

    Declaration
    [Obsolete("Use PeekOutput followed by TakeOwnership or DeepCopy instead.", false)]
    public static Tensor FetchAndTakeOwnership(this IWorker worker, string name)
    Parameters
    Type Name Description
    IWorker worker
    String name
    Returns
    Type Description
    Tensor

    GetAsyncProgress(IWorker)

    Declaration
    [Obsolete("Use scheduleProgress instead.", false)]
    public static float GetAsyncProgress(this IWorker worker)
    Parameters
    Type Name Description
    IWorker worker
    Returns
    Type Description
    Single

    Peek(IWorker)

    Declaration
    [Obsolete("Use PeekOutput instead.", false)]
    public static Tensor Peek(this IWorker worker)
    Parameters
    Type Name Description
    IWorker worker
    Returns
    Type Description
    Tensor

    Peek(IWorker, String)

    Declaration
    [Obsolete("Use PeekOutput instead.", false)]
    public static Tensor Peek(this IWorker worker, string name)
    Parameters
    Type Name Description
    IWorker worker
    String name
    Returns
    Type Description
    Tensor

    WaitForCompletion(IWorker)

    Declaration
    [Obsolete("Use FlushSchedule instead.", false)]
    public static void WaitForCompletion(this IWorker worker)
    Parameters
    Type Name Description
    IWorker worker
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023