refactor field heads

This commit is contained in:
Matt Tancik committed 2022-05-16 18:07:22 -07:00
1 parent 676beebb14
commit 8ccc98a389
4 files changed
+59 -42

No files matched your search

+3 -7
View File
@@ -44,15 +44,11 @@ class FieldModule(nn.Module):
@abstractmethod
def forward(self, in_tensor: TensorType[..., "input_dim"]) -> TensorType[..., "output_dim"]:
"""_summary_
"""
Args:
x (TensorType[..., "input_dim"]): Input tensor to be encoded
Raises:
NotImplementedError: _description_
in_tensor (TensorType[..., "input_dim"]): Input tensor to process
Returns:
TensorType[..., "output_dim"]: A encoded input tensor
TensorType[..., "output_dim"]: Processed tensor
"""
raise NotImplementedError