docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct WorkerFactory.WorkerConfiguration

    Represents the configuration for a WorkerFactory.

    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetType()
    Namespace: Unity.Sentis
    Assembly: solution.dll
    Syntax
    public struct WorkerFactory.WorkerConfiguration

    Constructors

    Name Description
    WorkerConfiguration(bool, bool)

    Initializes and returns an instance of WorkerConfiguration.

    Fields

    Name Description
    takeoverWeights

    If true the worker is allowed to take ownership of the weights memory from the model this is useful so worker to limit memory pressure when the worker need to copy those weight to a different device.

    verbose

    Whether to log debug information about model execution to the Console window. The default is false.

    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)