optimize_config_response module

OptimizeConfigResponse

class edgeimpulse_api.models.optimize_config_response.OptimizeConfigResponse(
		**data: Any
)

Create a new model by parsing and validating input data from keyword arguments.

Raises ValidationError if the input data cannot be parsed to form a valid model.

Parameters

  • **data: Any

Bases

  • pydantic.main.BaseModel

  • pydantic.utils.Representation

Class variables

  • Config

  • classification_type: pydantic.types.StrictStr

  • compiler: Optional[List[pydantic.types.StrictStr]]

  • dataset_category: pydantic.types.StrictStr

  • device: Optional[Dict[str, Any]]

  • error: Optional[pydantic.types.StrictStr]

  • max_maccs: Optional[float]

  • min_maccs: Optional[float]

  • name: Optional[pydantic.types.StrictStr]

  • notification_on_completion: Optional[pydantic.types.StrictBool]

  • precision: Optional[List[pydantic.types.StrictStr]]

  • space: Optional[List[edgeimpulse_api.models.tuner_space_impulse.TunerSpaceImpulse]]

  • success: pydantic.types.StrictBool

  • target_device: edgeimpulse_api.models.optimize_config_target_device.OptimizeConfigTargetDevice

  • target_latency: pydantic.types.StrictInt

  • training_cycles: Optional[pydantic.types.StrictInt]

  • tuner_space_options: Optional[Dict[str, List[pydantic.types.StrictStr]]]

  • tuning_algorithm: Optional[pydantic.types.StrictStr]

  • tuning_max_trials: Optional[pydantic.types.StrictInt]

  • tuning_workers: Optional[pydantic.types.StrictInt]

Static methods

classification_type_validate_enum

edgeimpulse_api.models.optimize_config_response.classification_type_validate_enum(
		v
)

Parameters

  • v

dataset_category_validate_enum

edgeimpulse_api.models.optimize_config_response.dataset_category_validate_enum(
		v
)

Parameters

  • v

from_dict

edgeimpulse_api.models.optimize_config_response.from_dict(
		obj: dict
)> edgeimpulse_api.models.optimize_config_response.OptimizeConfigResponse

Create an instance of OptimizeConfigResponse from a dict

Parameters

  • obj: dict

Return

edgeimpulse_api.models.optimize_config_response.OptimizeConfigResponse

from_json

edgeimpulse_api.models.optimize_config_response.from_json(