tuner_trial module
TunerTrial
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
blocks: List[edgeimpulse_api.models.tuner_trial_blocks_inner.TunerTrialBlocksInner]
current_epoch: pydantic.types.StrictInt | None
device_performance: Dict[str, Any] | None
dsp_job_id: edgeimpulse_api.models.tuner_trial_dsp_job_id.TunerTrialDspJobId | None
experiment: pydantic.types.StrictStr | None
id: pydantic.types.StrictStr
impulse: edgeimpulse_api.models.tuner_trial_impulse.TunerTrialImpulse
impulse_added_to_project: edgeimpulse_api.models.tuner_trial_impulse_added_to_project.TunerTrialImpulseAddedToProject | None
last_completed_epoch: datetime.datetime | None
last_completed_training: datetime.datetime | None
learn_job_id: float | None
metrics: edgeimpulse_api.models.tuner_trial_metrics.TunerTrialMetrics | None
model: Dict[str, Any] | None
name: pydantic.types.StrictStr
optimization_round: float | None
original_trial_id: pydantic.types.StrictStr | None
progress: edgeimpulse_api.models.tuner_trial_progress.TunerTrialProgress | None
retries: pydantic.types.StrictInt | None
status: pydantic.types.StrictStr
worker_id: pydantic.types.StrictStr | None
Static methods
from_dict
Create an instance of TunerTrial from a dict
Parameters
obj: dict
Return
edgeimpulse_api.models.tuner_trial.TunerTrial
from_json
Create an instance of TunerTrial from a JSON string
Parameters
json_str: str
Return
edgeimpulse_api.models.tuner_trial.TunerTrial
status_validate_enum
Parameters
v
Methods
to_dict
Returns the dictionary representation of the model using alias
Parameters
self
to_json
Returns the JSON representation of the model using alias
Parameters
self
indent=None
Return
str
to_str
Returns the string representation of the model using alias
Parameters
self
Return
str
Last updated