Expand description
Cold-path Google LiteRT (TFLite / FlatBuffers) model file validation.
LiteRT / TFLite models use the FlatBuffers binary format with the canonical
4-byte file identifier TFL3 at byte offset 4..8.
Structs§
Enums§
Constants§
- LITER_
TFLITE_ MAGIC - Canonical FlatBuffers 4-byte identifier for Google LiteRT / TFLite models.
Functions§
- load_
litert_ file - Load entire LiteRT / TFLite file into memory (cold path).
- validate_
litert_ bytes - Validate Google LiteRT / TFLite FlatBuffers bytes without reading disk.