mirror of
https://github.com/zebrajr/pytorch.git
synced 2025-12-07 12:21:27 +01:00
fix elapsed_us spelling
This commit is contained in:
parent
0fd9682305
commit
ca3fc59a9a
|
|
@ -337,7 +337,7 @@ class FunctionEvent(FormattedTimesMixin):
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def cuda_time_total(self):
|
def cuda_time_total(self):
|
||||||
return sum(kinfo[1].elasped_us() for kinfo in self.kernels)
|
return sum(kinfo[1].elapsed_us() for kinfo in self.kernels)
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def cpu_time_total(self):
|
def cpu_time_total(self):
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user