Skip to content

Commit

Permalink
update operate aurora to use KernelDataset
Browse files Browse the repository at this point in the history
  • Loading branch information
kkappler committed Jun 25, 2022
1 parent 6609f56 commit caae96e
Show file tree
Hide file tree
Showing 2 changed files with 369 additions and 523 deletions.
4 changes: 2 additions & 2 deletions aurora/tf_kernel/dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,9 @@ def from_run_summary(self, run_summary,
def add_duration(self):
"""
"""
timedeltas = df.end - df.start
timedeltas = self.df.end - self.df.start
durations = [x.seconds for x in timedeltas]
df["duration"] = durations
self.df["duration"] = durations
return

def drop_runs_shorter_than(self, duration, units="s"):
Expand Down
Loading

0 comments on commit caae96e

Please sign in to comment.