Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
wangpatrick57 committed Oct 24, 2024
1 parent dc2d99a commit 324aff5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion analyze/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 324aff5

Please sign in to comment.