profile_model_info module#

class edgeimpulse_api.models.profile_model_info.ProfileModelInfo(
*,
device: StrictStr,
tfliteFileSizeBytes: StrictInt,
isSupportedOnMcu: StrictBool,
memory: ProfileModelInfoMemory | None = None,
timePerInferenceMs: StrictInt | None = None,
mcuSupportError: StrictStr | None = None,
)[source]#

Bases: BaseModel

class Config[source]#

Bases: object

allow_population_by_field_name = True#
validate_assignment = False#
device: StrictStr#
classmethod from_dict(
obj: dict,
) ProfileModelInfo[source]#

Create an instance of ProfileModelInfo from a dict

classmethod from_json(
json_str: str,
) ProfileModelInfo[source]#

Create an instance of ProfileModelInfo from a JSON string

is_supported_on_mcu: StrictBool#
mcu_support_error: StrictStr | None#
memory: ProfileModelInfoMemory | None#
tflite_file_size_bytes: StrictInt#
time_per_inference_ms: StrictInt | None#
to_dict()[source]#

Returns the dictionary representation of the model using alias

to_json() str[source]#

Returns the JSON representation of the model using alias

to_str() str[source]#

Returns the string representation of the model using alias