From a914387cf81b2fc2a4aa736a543924d0009cb921 Mon Sep 17 00:00:00 2001 From: evonneng Date: Tue, 13 Sep 2022 03:48:35 +0000 Subject: [PATCH] update docstrings --- nerfactory/utils/misc.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nerfactory/utils/misc.py b/nerfactory/utils/misc.py index a30a78992..297c5d536 100644 --- a/nerfactory/utils/misc.py +++ b/nerfactory/utils/misc.py @@ -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():