optimization_api module
OptimizationApi
Parameters
api_client=None
Methods
complete_search
Complete EON tuner run
Complete EON tuner run and mark it as succesful
Parameters
self
project_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Project ID', extra={})]
job_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Job ID', extra={})]
tuner_complete_search: edgeimpulse_api.models.tuner_complete_search.TunerCompleteSearch
**kwargs
Return
edgeimpulse_api.models.generic_api_response.GenericApiResponse
create_trial
Create trial
Create trial
Parameters
self
project_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Project ID', extra={})]
job_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Job ID', extra={})]
tuner_create_trial_impulse: edgeimpulse_api.models.tuner_create_trial_impulse.TunerCreateTrialImpulse
**kwargs
Return
edgeimpulse_api.models.generic_api_response.GenericApiResponse
delete_state
Delete EON tuner state
Completely clears the EON tuner state for this project.
Parameters
self
project_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Project ID', extra={})]
**kwargs
Return
edgeimpulse_api.models.generic_api_response.GenericApiResponse
end_trial
End EON tuner trial
End an EON trial early. This can for example be used to implement early stopping.
Parameters
self
project_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Project ID', extra={})]
job_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Job ID', extra={})]
trial_id: Annotated[pydantic.types.StrictStr, FieldInfo(default=Ellipsis, description='trial ID', extra={})]
**kwargs
Return
edgeimpulse_api.models.generic_api_response.GenericApiResponse
get_all_learn_blocks
Get all available learn blocks
Get all available learn blocks
Parameters
self
project_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Project ID', extra={})]
**kwargs
Return
edgeimpulse_api.models.all_learn_blocks_response.AllLearnBlocksResponse
get_config
Get config
Get config
Parameters
self
project_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Project ID', extra={})]
**kwargs
Return
edgeimpulse_api.models.optimize_config_response.OptimizeConfigResponse
get_dsp_parameters
Retrieves DSP block parameters
Retrieves DSP block parameters
Parameters
self
project_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Project ID', extra={})]
organization_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Organization ID', extra={})]
organization_dsp_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Organization DSP ID', extra={})]
**kwargs
Return
edgeimpulse_api.models.optimize_dsp_parameters_response.OptimizeDSPParametersResponse
get_space
Search space
Search space
Parameters
self
project_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Project ID', extra={})]
**kwargs
Return
edgeimpulse_api.models.optimize_space_response.OptimizeSpaceResponse
get_state
Retrieves the EON tuner state
Retrieves the EON tuner state
Parameters
self
project_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Project ID', extra={})]
**kwargs
Return
edgeimpulse_api.models.optimize_state_response.OptimizeStateResponse
get_transfer_learning_models
Retrieves available transfer learning models
Retrieves available transfer learning models
Parameters
self
project_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Project ID', extra={})]
**kwargs
Return
edgeimpulse_api.models.optimize_transfer_learning_models_response.OptimizeTransferLearningModelsResponse
get_trial_logs
Get trial logs
Get the logs for a trial.
Parameters
self
project_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Project ID', extra={})]
trial_id: Annotated[pydantic.types.StrictStr, FieldInfo(default=Ellipsis, description='trial ID', extra={})]
**kwargs
Return
edgeimpulse_api.models.log_stdout_response.LogStdoutResponse
get_tuner_run_state
Retrieves EON tuner state for a run.
Retrieves the EON tuner state for a specific run.
Parameters
self
project_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Project ID', extra={})]
tuner_coordinator_job_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Tuner coordinator job ID', extra={})]
**kwargs
Return
edgeimpulse_api.models.optimize_state_response.OptimizeStateResponse
get_window_settings
Get window settings
Get window settings
Parameters
self
project_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Project ID', extra={})]
**kwargs
Return
edgeimpulse_api.models.window_settings_response.WindowSettingsResponse
list_tuner_runs
List all tuner runs
List all the tuner runs for a project.
Parameters
self
project_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Project ID', extra={})]
**kwargs
Return
edgeimpulse_api.models.list_tuner_runs_response.ListTunerRunsResponse
score_trial
Score trial
Score trial
Parameters
self
project_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Project ID', extra={})]
tuner_create_trial_impulse: edgeimpulse_api.models.tuner_create_trial_impulse.TunerCreateTrialImpulse
**kwargs
Return
edgeimpulse_api.models.score_trial_response.ScoreTrialResponse
update_config
Update config
Update config
Parameters
self
project_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Project ID', extra={})]
optimize_config: edgeimpulse_api.models.optimize_config.OptimizeConfig
**kwargs
Return
edgeimpulse_api.models.generic_api_response.GenericApiResponse
update_tuner_run
Update EON tuner state
Updates the EON tuner state for a specific run.
Parameters
self
project_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Project ID', extra={})]
tuner_coordinator_job_id: Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Tuner coordinator job ID', extra={})]
update_tuner_run_request: edgeimpulse_api.models.update_tuner_run_request.UpdateTunerRunRequest
**kwargs
Return
edgeimpulse_api.models.generic_api_response.GenericApiResponse
Last updated