mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-12-04 06:49:13 +08:00
passing tests locally, remove not implemented checks
This commit is contained in:
1 parent
c8d84937e0
commit
cffb48e3e0
2 files changed
+2
-4
No files matched your search
@@ -15,7 +15,7 @@ class GraphInputs:
|
|||||||
|
|
||||||
|
|
||||||
class Graph(nn.Module):
|
class Graph(nn.Module):
|
||||||
"""_summary_ """
|
"""_summary_"""
|
||||||
|
|
||||||
def __init__(self, modules_config: dict) -> None:
|
def __init__(self, modules_config: dict) -> None:
|
||||||
super().__init__()
|
super().__init__()
|
||||||
@@ -39,7 +39,7 @@ class Graph(nn.Module):
|
|||||||
Returns:
|
Returns:
|
||||||
list: ordering of the module names that should be executed
|
list: ordering of the module names that should be executed
|
||||||
"""
|
"""
|
||||||
raise NotImplementedError
|
return modules_config.keys()
|
||||||
|
|
||||||
def forward(self, x):
|
def forward(self, x):
|
||||||
"""_summary_
|
"""_summary_
|
||||||
|
|||||||
@@ -12,8 +12,6 @@ class Encoding(nn.Module):
|
|||||||
super().__init__()
|
super().__init__()
|
||||||
self.out_dim = out_dim
|
self.out_dim = out_dim
|
||||||
|
|
||||||
raise NotImplementedError
|
|
||||||
|
|
||||||
def encode(self, in_tensor: TensorType[..., "input_dim"]) -> TensorType[..., "output_dim"]:
|
def encode(self, in_tensor: TensorType[..., "input_dim"]) -> TensorType[..., "output_dim"]:
|
||||||
"""Encodes an input tensor.
|
"""Encodes an input tensor.
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user