mlonmcu.flow package
Subpackages
- mlonmcu.flow.tflm package
- mlonmcu.flow.tvm package
- Subpackages
- mlonmcu.flow.tvm.backend package
- Submodules
- mlonmcu.flow.tvm.backend.backend module
- mlonmcu.flow.tvm.backend.model_info module
- mlonmcu.flow.tvm.backend.python_utils module
- mlonmcu.flow.tvm.backend.tuner module
- mlonmcu.flow.tvm.backend.tvmaot module
- mlonmcu.flow.tvm.backend.tvmaotplus module
- mlonmcu.flow.tvm.backend.tvmc_utils module
- mlonmcu.flow.tvm.backend.tvmcg module
- mlonmcu.flow.tvm.backend.tvmllvm module
- mlonmcu.flow.tvm.backend.tvmrt module
- mlonmcu.flow.tvm.backend.wrapper module
- Module contents
- mlonmcu.flow.tvm.backend package
- Submodules
- mlonmcu.flow.tvm.framework module
- Module contents
- Subpackages
Submodules
mlonmcu.flow.backend module
- class mlonmcu.flow.backend.Backend(framework='', features=None, config=None)[source]
Bases:
ABC
- DEFAULTS = {}
- FEATURES = {}
- OPTIONAL = {}
- REQUIRED = {}
- property has_tuner
- abstract load_model(model, input_shapes=None, output_shapes=None, input_types=None, output_types=None)[source]
- name = None
- property needs_target
mlonmcu.flow.framework module
- class mlonmcu.flow.framework.Framework(features=None, config=None, backends={})[source]
Bases:
ABC
- DEFAULTS = {}
- FEATURES = {}
- OPTIONAL = {}
- REQUIRED = {'tf.src_dir'}
- name = None
- registry = {'tflm': <class 'mlonmcu.flow.tflm.framework.TFLMFramework'>, 'tvm': <class 'mlonmcu.flow.tvm.framework.TVMFramework'>}
Module contents
Flow module for frameworks and backend.