Struct WorkerFactory.WorkerConfiguration | Barracuda | 1.0.4
docs.unity3d.com
    Show / Hide Table of Contents

    Struct WorkerFactory.WorkerConfiguration

    Worker configuration compareAgainstType if different than the worker type, the model will be run on both backend and result of every layer will be compared, checking for divergence. Great for debugging, but very slow because of the sync needed. verbose will log scheduling of layers execution to the console (default == false). compareLogLevel define how difference will be reported (default == Warning). compareEpsilon the maximum tolerance before a difference is reported (default == 0.0001f).

    Inherited Members
    ValueType.Equals(Object)
    ValueType.GetHashCode()
    ValueType.ToString()
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetType()
    Namespace: Unity.Barracuda
    Syntax
    public struct WorkerConfiguration

    Constructors

    WorkerConfiguration(WorkerFactory.Type, Boolean, CompareOpsUtils.LogLevel, Single)

    Declaration
    public WorkerConfiguration(WorkerFactory.Type compareAgainstType, bool verbose = false, CompareOpsUtils.LogLevel compareLogLevel = CompareOpsUtils.LogLevel.Warning, float compareEpsilon = 0.0001F)
    Parameters
    Type Name Description
    WorkerFactory.Type compareAgainstType
    Boolean verbose
    CompareOpsUtils.LogLevel compareLogLevel
    Single compareEpsilon

    Fields

    compareAgainstType

    Declaration
    public WorkerFactory.Type compareAgainstType
    Field Value
    Type Description
    WorkerFactory.Type

    compareEpsilon

    Declaration
    public float compareEpsilon
    Field Value
    Type Description
    Single

    compareLogLevel

    Declaration
    public CompareOpsUtils.LogLevel compareLogLevel
    Field Value
    Type Description
    CompareOpsUtils.LogLevel

    verbose

    Declaration
    public bool verbose
    Field Value
    Type Description
    Boolean
    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