From 324aff53d73d5611b1a8152b14779a7053d3ec88 Mon Sep 17 00:00:00 2001 From: Patrick Wang Date: Thu, 24 Oct 2024 11:36:26 -0400 Subject: [PATCH] fmt --- analyze/cli.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/analyze/cli.py b/analyze/cli.py index c1824285..b45eb06f 100644 --- a/analyze/cli.py +++ b/analyze/cli.py @@ -63,7 +63,9 @@ def tboard_to_minimal_json(tfevent_fpath: Path) -> list[dict[str, Any]]: # An "instr_time_event" is an event with a "tag" that looks like "instr_time/*" -def get_total_instr_time_event(minimal_json: list[dict[str, Any]], event_regex: str) -> float: +def get_total_instr_time_event( + minimal_json: list[dict[str, Any]], event_regex: str +) -> float: event_pattern = re.compile(event_regex) total_time = 0