docs.unity3d.com
    Show / Hide Table of Contents

    Run an imported model

    Use Sentis to run an imported model with input data and get the output data.

    Page Description
    Create input for a model Create input data for a model from an array or a texture.
    Convert a texture to a tensor Convert a texture to a tensor, and override texture shape and layout.
    Create an engine to run a model Create a worker, which is the engine that breaks the model down into executable tasks.
    Run a model Run a model in full or a step at a time.
    Use a command buffer Use a command buffer to create a queue of Sentis commands, then run the commands on the GPU later.
    Get output from a model Get and log the output data from a model.
    Read output asynchronously Read the output data from a model asynchronously.
    Use output data Convert the output data to an array or a texture, copy the data to the screen.
    Manage memory Call Dispose on workers, inputs and sometimes outputs.
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023