activeVisionBackend property

PreferredBackend? get activeVisionBackend
inherited

Backend the vision encoder runs on, or null when the model was created without vision, has no vision encoder, or the engine does not say. The native LiteRT-LM engine reports it, including what it chose for an unset preferredVisionBackend (from the model file: a declared backend_constraint, the NPU for an encoder compiled for one, else the CPU).

Implementation

PreferredBackend? get activeVisionBackend => null;