TunerTrial

class edgeimpulse_api.models.tuner_trial.TunerTrial(
		**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 The type of the None singleton.
  • blocks: List[edgeimpulse_api.models.tuner_trial_blocks_inner.TunerTrialBlocksInner] The type of the None singleton.
  • created_in_post_processing: pydantic.types.StrictBool | None The type of the None singleton.
  • current_epoch: pydantic.types.StrictInt | None The type of the None singleton.
  • device_performance: Dict[str, Any] | None The type of the None singleton.
  • dsp_job_id: edgeimpulse_api.models.tuner_trial_dsp_job_id.TunerTrialDspJobId | None The type of the None singleton.
  • experiment: pydantic.types.StrictStr | None The type of the None singleton.
  • id: pydantic.types.StrictStr The type of the None singleton.
  • impulse: edgeimpulse_api.models.tuner_trial_impulse.TunerTrialImpulse The type of the None singleton.
  • impulse_added_to_project: edgeimpulse_api.models.tuner_trial_impulse_added_to_project.TunerTrialImpulseAddedToProject | None The type of the None singleton.
  • last_completed_epoch: datetime.datetime | None The type of the None singleton.
  • last_completed_training: datetime.datetime | None The type of the None singleton.
  • learn_job_id: float | None The type of the None singleton.
  • metrics: edgeimpulse_api.models.tuner_trial_metrics.TunerTrialMetrics | None The type of the None singleton.
  • model: Dict[str, Any] | None The type of the None singleton.
  • name: pydantic.types.StrictStr The type of the None singleton.
  • optimization_round: float | None The type of the None singleton.
  • original_trial_id: pydantic.types.StrictStr | None The type of the None singleton.
  • progress: edgeimpulse_api.models.tuner_trial_progress.TunerTrialProgress | None The type of the None singleton.
  • retries: pydantic.types.StrictInt | None The type of the None singleton.
  • status: pydantic.types.StrictStr The type of the None singleton.
  • worker_id: pydantic.types.StrictStr | None The type of the None singleton.

Static methods

from_dict

edgeimpulse_api.models.tuner_trial.from_dict(
		obj: dict
) ‑> edgeimpulse_api.models.tuner_trial.TunerTrial
Create an instance of TunerTrial from a dict Parameters
  • obj: dict
Return edgeimpulse_api.models.tuner_trial.TunerTrial

from_json

edgeimpulse_api.models.tuner_trial.from_json(
		json_str: str
) ‑> edgeimpulse_api.models.tuner_trial.TunerTrial
Create an instance of TunerTrial from a JSON string Parameters
  • json_str: str
Return edgeimpulse_api.models.tuner_trial.TunerTrial

status_validate_enum

edgeimpulse_api.models.tuner_trial.status_validate_enum(
		v
)
Parameters
  • v

Methods

to_dict

edgeimpulse_api.models.tuner_trial.to_dict(
		self
)
Returns the dictionary representation of the model using alias Parameters
  • self

to_json

edgeimpulse_api.models.tuner_trial.to_json(
		self,
		indent=None
) ‑> str
Returns the JSON representation of the model using alias Parameters
  • self
  • indent=None
Return str

to_str

edgeimpulse_api.models.tuner_trial.to_str(
		self
) ‑> str
Returns the string representation of the model using alias Parameters
  • self
Return str