mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-11-12 19:04:03 +08:00
sorting imports on save; cleanup imports sorting; add isort check (#207)
This commit is contained in:
1 parent
6050dfb6e3
commit
1cd697366e
46 files changed
+160
-80
No files matched your search
@@ -13,6 +13,6 @@
|
||||
# limitations under the License.
|
||||
|
||||
"""init field modules"""
|
||||
from .base import FieldModule
|
||||
from .encoding import Encoding, ScalingAndOffset
|
||||
from .mlp import MLP
|
||||
from .base import FieldModule
|
||||
@@ -19,6 +19,7 @@ Code for embeddings.
|
||||
|
||||
import torch
|
||||
from torchtyping import TensorType
|
||||
|
||||
from nerfactory.fields.modules.base import FieldModule
|
||||
|
||||
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
"""
|
||||
Multi Layer Perceptron
|
||||
"""
|
||||
from typing import Tuple, Optional
|
||||
from typing import Optional, Tuple
|
||||
|
||||
import torch
|
||||
from torch import nn
|
||||
|
||||
Reference in new issue
Block a user