mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-12-07 00:09:14 +08:00
pylint and test cases for dataloader
This commit is contained in:
1 parent
391803759e
commit
80ad17700c
10 files changed
+94
-69
No files matched your search
@@ -1,8 +1,7 @@
|
||||
"""
|
||||
Multi Layer Perceptron
|
||||
"""
|
||||
from tkinter import X
|
||||
from typing import List, Optional
|
||||
from typing import Tuple, Optional
|
||||
|
||||
import torch
|
||||
from torch import nn
|
||||
@@ -20,7 +19,7 @@ class MLP(FieldModule):
|
||||
out_dim: int,
|
||||
num_layers: int,
|
||||
layer_width: int = None,
|
||||
skip_connections: List[int] = [],
|
||||
skip_connections: Tuple[int] = (),
|
||||
activation: Optional[nn.Module] = nn.ReLU(),
|
||||
out_activation: Optional[nn.Module] = None,
|
||||
) -> None:
|
||||
|
||||
Reference in new issue
Block a user