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. |