mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-11-25 02:19:47 +08:00
update docstrings and random cleanups (#387)
* fixing docstrings and small nits; up to fileds * finished adding and fixing docstrings
This commit is contained in:
1 parent
bd5967461d
commit
d50c71ac43
52 files changed
+846
-646
No files matched your search
@@ -70,9 +70,9 @@ class Profiler:
|
||||
"""update the profiler dictionary with running averages of durations
|
||||
|
||||
Args:
|
||||
func_name (str): the function name that is being profiled
|
||||
start_time (float): the start time when function is called
|
||||
end_time (float): the end time when function terminated
|
||||
func_name: the function name that is being profiled
|
||||
start_time: the start time when function is called
|
||||
end_time: the end time when function terminated
|
||||
"""
|
||||
val = end_time - start_time
|
||||
func_dict = self.profiler_dict.get(func_name, {"val": 0, "step": 0})
|
||||
|
||||
Reference in new issue
Block a user