mltk.core.tflite_micro.TfliteMicroModelDetails

class TfliteMicroModelDetails[source]

TF-Lite Micro Model Details

Properties

accelerator

Accelerater kernels loaded into TFLM interpreter

classes

List of class labels

date

Date of model in ISO8601 format

description

Description of model

hash

Unique hash of model data

memory_plan

The generated tensor buffer layout used for this model

name

Name of model

runtime_memory_size

Total amount of RAM required at runtime to run model

version

Version of model

Methods

__init__

__init__(wrapper_details)[source]
Parameters:

wrapper_details (dict) –

property name: str

Name of model

Return type:

str

property version: int

Version of model

Return type:

int

property date: str

Date of model in ISO8601 format

Return type:

str

property description: str

Description of model

Return type:

str

property classes: List[str]

List of class labels

Return type:

List[str]

property hash: str

Unique hash of model data

Return type:

str

property accelerator: str

Accelerater kernels loaded into TFLM interpreter

Return type:

str

property runtime_memory_size: int

Total amount of RAM required at runtime to run model

Return type:

int

property memory_plan: TfliteMicroMemoryPlan

The generated tensor buffer layout used for this model

Return type:

TfliteMicroMemoryPlan