aitune.torch.task.profiling.events

View as Markdown

Profiling result events.

Module Contents

Classes

NameDescription
ProfilingResultEventProfiling result event.

Functions

NameDescription
get_inference_eventsGet inference events.

API

class aitune.torch.task.profiling.events.ProfilingResultEvent(
timestamp: float,
model_name: str,
backend_details: str,
batch_size: int,
phase: str,
measurement_id: int = 0,
execution_time: float = 0.0
)
Dataclass

Profiling result event.

backend_details
str
batch_size
int
execution_time
float = 0.0
measurement_id
int = 0
model_name
str
phase
str
timestamp
float
aitune.torch.task.profiling.events.get_inference_events(

Get inference events.