mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-11-13 03:14:00 +08:00
fix lint errors
This commit is contained in:
1 parent
c7911281c3
commit
05d26b5265
2 files changed
+4
-2
No files matched your search
@@ -1,2 +1,2 @@
|
||||
from .encoding import Encoding
|
||||
from .mlp import MLP
|
||||
from .mlp import MLP
|
||||
@@ -10,7 +10,9 @@ class Encoding(nn.Module):
|
||||
|
||||
def __init__(self, out_dim: int) -> None:
|
||||
super().__init__()
|
||||
# raise NotImplementedError
|
||||
self.out_dim = out_dim
|
||||
|
||||
raise NotImplementedError
|
||||
|
||||
def encode(self, in_tensor: TensorType[..., "input_dim"]) -> TensorType[..., "output_dim"]:
|
||||
"""Encodes an input tensor.
|
||||
|
||||
Reference in new issue
Block a user