mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-12-05 23:38:42 +08:00
fixed most linting errors
This commit is contained in:
1 parent
a7167f890e
commit
5691d00d42
14 files changed
+110
-45
No files matched your search
+16
-3
@@ -1,6 +1,17 @@
|
||||
"""
|
||||
The Graph module contains all trainable parameters.
|
||||
"""
|
||||
from dataclasses import dataclass
|
||||
from torch import nn
|
||||
|
||||
|
||||
@dataclass
|
||||
class GraphInputs:
|
||||
"""Datastucture to encode the inputs to the graph."""
|
||||
|
||||
points: float
|
||||
|
||||
|
||||
class Graph(nn.Module):
|
||||
"""_summary_
|
||||
|
||||
@@ -8,8 +19,10 @@ class Graph(nn.Module):
|
||||
nn (_type_): _description_
|
||||
"""
|
||||
|
||||
def __init__(self, config) -> None:
|
||||
def __init__(self) -> None:
|
||||
super().__init__()
|
||||
self.config = config
|
||||
raise NotImplementedError
|
||||
|
||||
|
||||
def forward(self):
|
||||
"""_summary_"""
|
||||
raise NotImplementedError
|
||||
Reference in new issue
Block a user