optimize_config_response module#

class edgeimpulse_api.models.optimize_config_response.OptimizeConfigResponse(
*,
success: StrictBool,
error: StrictStr | None = None,
name: StrictStr | None = None,
datasetCategory: StrictStr,
classificationType: StrictStr,
targetLatency: StrictInt,
targetDevice: OptimizeConfigTargetDevice,
compiler: List[StrictStr] | None = None,
precision: List[StrictStr] | None = None,
trainingCycles: StrictInt | None = None,
tuningMaxTrials: StrictInt | None = None,
tuningWorkers: StrictInt | None = None,
minMACCS: float | None = None,
maxMACCS: float | None = None,
tuningAlgorithm: StrictStr | None = None,
notificationOnCompletion: StrictBool | None = None,
tunerSpaceOptions: Dict[str, List[StrictStr]] | None = None,
space: List[TunerSpaceImpulse] | None = None,
device: Dict[str, Any] | None = None,
)[source]#

Bases: BaseModel

class Config[source]#

Bases: object

allow_population_by_field_name = True#
validate_assignment = False#
classification_type: StrictStr#
classmethod classification_type_validate_enum(v)[source]#
compiler: List[StrictStr] | None#
dataset_category: StrictStr#
classmethod dataset_category_validate_enum(v)[source]#
device: Dict[str, Any] | None#
error: StrictStr | None#
classmethod from_dict(
obj: dict,
) OptimizeConfigResponse[source]#

Create an instance of OptimizeConfigResponse from a dict

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

Create an instance of OptimizeConfigResponse from a JSON string

max_maccs: float | None#
min_maccs: float | None#
name: StrictStr | None#
notification_on_completion: StrictBool | None#
precision: List[StrictStr] | None#
space: List[TunerSpaceImpulse] | None#
success: StrictBool#
target_device: OptimizeConfigTargetDevice#
target_latency: StrictInt#
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

training_cycles: StrictInt | None#
tuner_space_options: Dict[str, List[StrictStr]] | None#
tuning_algorithm: StrictStr | None#
classmethod tuning_algorithm_validate_enum(v)[source]#
tuning_max_trials: StrictInt | None#
tuning_workers: StrictInt | None#