docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method SetInput

    SetInput(string, Tensor)

    Sets a tensor as a named input of the model.

    Declaration
    public virtual void SetInput(string name, Tensor x)
    Parameters
    Type Name Description
    string name

    The name of the input to set.

    Tensor x
    Implements
    IWorker.SetInput(string, Tensor)

    SetInput(Tensor)

    Sets a tensor as the default input of the model. For models with more than one input this sets the first input.

    Declaration
    public virtual void SetInput(Tensor x)
    Parameters
    Type Name Description
    Tensor x
    Implements
    IWorker.SetInput(Tensor)
    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)