Repository navigation
v0.6.0
What's Changed
Added
archivefeature onedgefirst-tfliteexposingarchive::ModelArchive
for reading the ZIP archive that the EdgeFirst tflite-converter appends
to the FlatBuffer payload (edgefirst.json,labels.txt,
metadata.json). Convenience helpersarchive::edgefirst_json(),
archive::labels(), andarchive::has_archive()cover the common
one-shot reads.- Schema v2 fixtures in
testdata/:yolov8n-seg-combined-int8.tflite,
yolov8n-seg-logical-int8.tflite,yolov8n-seg-smart-int8.tflite
exercising the fused, logical-split, and per-scale FPN-split decoder
layouts respectively. - Archive unit tests round-tripping all three schema v2 layouts and
asserting layout-signature contract pins. - Python bindings for the new
archiveAPI:ModelArchiveclass,
has_archive()module helper, andInterpreter.get_archive(). - Python bindings for the existing
ProfilerAPI (gap closure from
0.5.0):ProfilerandOpEventclasses, plus aprofiler=
keyword argument onInterpreter.
Changed
yolov8example builds the HALDecoderfrom the model's embedded
edgefirst.json(viaSchemaV2::parse_json+DecoderBuilder::with_schema)
instead of the prior shape-based heuristic. The same example now
drives all three converter output layouts (combined / logical / smart)
uniformly. Class labels are read from the embeddedlabels.txtrather
than a hardcoded COCO list.yolov8example propagates each TFLite output tensor's
(scale, zero_point)onto the corresponding HALTensorDynoutput
buffer. The HAL per-scale decoder reads quantization from the tensor
itself, so this attachment is required for the per-scale FPN-split
("smart") path.- Updated
edgefirst-haldependency from 0.20 to 0.21.0 in theyolov8
example.
crates.io: edgefirst-tflite | edgefirst-tflite-sys
PyPI: edgefirst-tflite