mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-11-20 06:35:36 +08:00
Stricter typing, update docstrings (#226)
This commit is contained in:
1 parent
395b03f48c
commit
44a7fa288c
10 files changed
+181
-181
No files matched your search
@@ -59,12 +59,12 @@ class FieldModule(nn.Module):
|
||||
return self.out_dim
|
||||
|
||||
@abstractmethod
|
||||
def forward(self, in_tensor: TensorType[..., "input_dim"]) -> TensorType[..., "output_dim"]:
|
||||
def forward(self, in_tensor: TensorType["bs":..., "input_dim"]) -> TensorType["bs":..., "output_dim"]:
|
||||
"""
|
||||
Args:
|
||||
in_tensor (TensorType[..., "input_dim"]): Input tensor to process
|
||||
in_tensor: Input tensor to process
|
||||
|
||||
Returns:
|
||||
TensorType[..., "output_dim"]: Processed tensor
|
||||
Processed tensor
|
||||
"""
|
||||
raise NotImplementedError
|
||||
Reference in new issue
Block a user