A type holding the inputs and outputs. The contents are arrays of the model’s element type (Element types), named In0, Out0, and so on
SizeIn0 / SizeOut0
The element count of each array. The arrays are allocated once in Start
RunGesture(io)
Runs on the inputs in that value and writes the outputs back into the same value
In0 / In1 …
The number follows the order of the model’s inputs. The outputs follow the same rule
Where it can be called
The method that runs cannot be called from outside. This prevents running it without assigning the inputs
Cost
The computation advances one step at a time on Udon. Measure it with the profiler before running it every frame
Where the weights are kept
The weights are constants in the code. The model file does not have to ship with the world
Outputs that no node computes
A model with an output that no node computes (a constant stored in the model, or an input listed as an output as well) is an error. Read that constant, or the input array, in your own code
Udon has no such type, so a single input or weight of that type gives a compile error that names the type (convert a float16 or bfloat16 model to float32 before exporting it)
The arithmetic is done in that type, and integers wrap around on overflow (uint8 0 - 1 is 255; the types each operator accepts are in ONNX model operators (experimental)).