profile_tf_lite_response module#

class edgeimpulse_api.models.profile_tf_lite_response.ProfileTfLiteResponse(
*,
success: StrictBool,
error: StrictStr | None = None,
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#
error: StrictStr | None#
classmethod from_dict(
obj: dict,
) ProfileTfLiteResponse[source]#

Create an instance of ProfileTfLiteResponse from a dict

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

Create an instance of ProfileTfLiteResponse from a JSON string

is_supported_on_mcu: StrictBool#
mcu_support_error: StrictStr | None#
memory: ProfileModelInfoMemory | None#
success: StrictBool#
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