Struct WorkerFactory.WorkerConfiguration | Barracuda | 1.0.4
docs.unity.cn
    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 © 2020 Unity Technologies
    Generated by DocFX
    on 20 October 2020