Expand description
ORT model-package directory parsing, variant selection, and path resolution.
Structs§
- Component
- A package component containing named executable variants.
- Executor
Info - Common executable fields understood from
executor_info["nxrt"]orexecutor_info["ort"]. - Manifest
- An ORT 1.x package manifest.
- Model
Package - Open, parsed ORT model-package directory.
- Selected
Variant - Fully resolved files for one selected variant.
- Selection
Request - Requested package variant attributes.
- Variant
- A named component variant.
Enums§
- Component
Reference - An inline component or a path to a component JSON file/directory.
- Host
Trust - Caller-supplied trust policy governing whether an
installed-layout package may resolve references outside the package root. - Package
Error - Errors produced while opening, selecting, resolving, or validating a package.
- Package
Layout - ORT package layout policy declared inside the (untrusted) manifest.
Functions§
- is_
model_ package_ directory - Probe whether a directory contains an ORT package manifest, while avoiding
unrelated fixture/application files also named
manifest.json.