docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method SetInput

    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
    void SetInput(Tensor inputTensor)
    Parameters
    Type Name Description
    Tensor inputTensor

    The tensor to set to the default input of the model.

    SetInput(string, Tensor)

    Sets a tensor as a named input of the model.

    Declaration
    void SetInput(string name, Tensor inputTensor)
    Parameters
    Type Name Description
    string name

    The name of the input to set.

    Tensor inputTensor

    The tensor to set as the input.

    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)