docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Constructor GenericWorker

    GenericWorker(Model, IBackend, IVars, bool, bool)

    Initializes and returns an instance of GenericWorker for the specified model and ops.

    Declaration
    public GenericWorker(Model model, IBackend backend, IVars vars, bool verbose = false, bool takeoverWeights = false)
    Parameters
    Type Name Description
    Model model

    The model to execute.

    IBackend backend

    The backend to use for execution.

    IVars vars

    The stored tensor variables to use for execution.

    bool verbose

    Whether to enable verbose logging during execution.

    bool takeoverWeights

    Whether to allow the worker to take ownership of the model weights during execution.

    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)