mlonmcu.flow.tflm.backend package
Submodules
mlonmcu.flow.tflm.backend.backend module
- class mlonmcu.flow.tflm.backend.backend.TFLMBackend(features=None, config=None)[source]
Bases:
Backend
- DEFAULTS = {}
- FEATURES = {}
- REQUIRED = {}
- load_model(model, input_shapes=None, output_shapes=None, input_types=None, output_types=None)[source]
- name = None
- registry = {'tflmc': <class 'mlonmcu.flow.tflm.backend.tflmc.TFLMCBackend'>, 'tflmi': <class 'mlonmcu.flow.tflm.backend.tflmi.TFLMIBackend'>}
mlonmcu.flow.tflm.backend.tflmc module
mlonmcu.flow.tflm.backend.tflmi module
- class mlonmcu.flow.tflm.backend.tflmi.TFLMIBackend(features=None, config=None)[source]
Bases:
TFLMBackend
- DEFAULTS = {'arena_size': 1048576, 'custom_ops': [], 'debug_arena': False, 'legacy': False, 'ops': [], 'ops_resolver': 'mutable', 'registrations': {}, 'reporter': False}
- FEATURES = {'debug_arena'}
- property arena_size
- property custom_ops
- property debug_arena
- property legacy
- name = 'tflmi'
- property ops
- property ops_resolver
- property registrations
- property reporter
Module contents
- class mlonmcu.flow.tflm.backend.TFLMBackend(features=None, config=None)[source]
Bases:
Backend
- DEFAULTS = {}
- FEATURES = {}
- REQUIRED = {}
- load_model(model, input_shapes=None, output_shapes=None, input_types=None, output_types=None)[source]
- name = None
- registry = {'tflmc': <class 'mlonmcu.flow.tflm.backend.tflmc.TFLMCBackend'>, 'tflmi': <class 'mlonmcu.flow.tflm.backend.tflmi.TFLMIBackend'>}
- class mlonmcu.flow.tflm.backend.TFLMCBackend(features=None, config=None)[source]
Bases:
TFLMBackend
- DEFAULTS = {'custom_ops': [], 'debug_arena': False, 'print_outputs': False, 'registrations': {}}
- FEATURES = {'debug_arena'}
- REQUIRED = {'tflmc.exe'}
- name = 'tflmc'
- property print_outputs
- class mlonmcu.flow.tflm.backend.TFLMIBackend(features=None, config=None)[source]
Bases:
TFLMBackend
- DEFAULTS = {'arena_size': 1048576, 'custom_ops': [], 'debug_arena': False, 'legacy': False, 'ops': [], 'ops_resolver': 'mutable', 'registrations': {}, 'reporter': False}
- FEATURES = {'debug_arena'}
- property arena_size
- property custom_ops
- property debug_arena
- property legacy
- name = 'tflmi'
- property ops
- property ops_resolver
- property registrations
- property reporter