Update docstrings

This commit is contained in:
Matt Tancik authored and Matthew Tancik committed 2022-06-10 09:03:43 -07:00
1 parent cc79708df7
commit 37a3692b45
11 files changed
+197 -130

No files matched your search

+7 -3
View File
@@ -22,10 +22,14 @@ from torchtyping import TensorType
class FieldModule(nn.Module):
"""Field modules that can be combined to store and compute the fields."""
"""Field modules that can be combined to store and compute the fields.
def __init__(self, in_dim=None, out_dim=None) -> None:
"""Default initialization of module"""
Args:
in_dim (int, optional): Input dimension to module.
out_dim (int, optional): Ouput dimension to module.
"""
def __init__(self, in_dim: int = None, out_dim: int = None) -> None:
super().__init__()
self.in_dim = in_dim
self.out_dim = out_dim