Model
A loaded ONNX model: callable with the inputs by name (or positionally
in input_names order), returning a dict of the outputs by name.
onnx is the editable model the file opened as; graph the compiled
graph the calls run. After editing onnx, :meth:recompile rebuilds
graph with the same options.
input_names (property)
The input names, in the order positional calls bind them.
inputs (property)
The input slots (name, dtype, dims; -1 = dynamic).
output_names (property)
The output names, in the order the returned dict lists them.
outputs (property)
The output slots.
__init__
__init__(self, onnx: 'OnnxModel', options: 'CompileOptions', path: 'str') -> 'None'
Initialize self. See help(type(self)) for accurate signature.
recompile
recompile(self) -> 'None'
recompile() -> None
Rebuild the compiled graph from onnx with the load-time options
(after editing the model).