Execution Time
yprov4ml.log_current_execution_time(
label: str,
is_input_to: Optional[str] = None,
is_output_to: Optional[str] = 'std.time',
step: Optional[int] = None
)
| Parameter | Type | Description |
|---|---|---|
label | string | Required. Label of the code portion |
is_input_to | Optional[str] | Optional. Activity that consumes the metric |
is_output_to | Optional[str] | Optional. Producer of the metric (default std.time) |
step | int | Optional. Step of the metric |