Execution Time

prov4ml.log_current_execution_time(
    label: str, 
    context: Context, 
    step: Optional[int] = None
)
ParameterTypeDescription
labelstringRequired. Label of the code portion
contextprov4ml.ContextRequired. Context of the metric
stepintOptional. Step of the metric

The log_current_execution_time function logs the current execution time of the code portion specified by the label.

prov4ml.log_execution_start_time()

The log_execution_start_time function logs the start time of the current execution. It is automatically called at the beginning of the experiment.

prov4ml.log_execution_end_time()

The log_execution_end_time function logs the end time of the current execution. It is automatically called at the end of the experiment.

Home | Prev | Next