mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-11-20 14:45:38 +08:00
update docstrings
This commit is contained in:
1 parent
dd287f5209
commit
a914387cf8
1 file changed
+2
@@ -29,6 +29,8 @@ def get_dict_to_torch(stuff: Any, device: Union[torch.device, str] = "cpu", excl
|
||||
|
||||
Args:
|
||||
stuff: things to convert to torch
|
||||
device: machine to put the "stuff" on
|
||||
exclude: list of keys to skip over transferring to device
|
||||
"""
|
||||
if isinstance(stuff, dict):
|
||||
for k, v in stuff.items():
|
||||
|
||||
Reference in new issue
Block a user