Run a model
After you create a worker, use Execute
to run the model.
worker.Execute(inputTensor);
The initial execution of a model within the Unity Editor may be slow as Sentis needs to compile code and shaders. Subsequent runs will be faster due to caching.
For an example, refer to the Run a model
sample in the sample scripts.