Skip to content

Commit 99014a3

Browse files
committed
Formatting.
1 parent 59a2bb2 commit 99014a3

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

src/e3tools/nn/_extract_irreps.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ def forward(self, data: torch.Tensor) -> torch.Tensor:
2929
3030
Parameters:
3131
data: torch.Tensor of shape [..., irreps_in.dim]
32-
32+
3333
Returns:
3434
torch.Tensor of shape [..., irreps_out.dim]
3535
"""

src/e3tools/nn/_mlp.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
class ScalarMLP(torch.nn.Sequential):
1111
"""A multi-layer perceptron for scalar inputs and outputs."""
12-
12+
1313
def __init__(
1414
self,
1515
in_features: int,

src/e3tools/nn/_pack_unpack.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ def forward(self, x: torch.Tensor) -> torch.Tensor:
9999
100100
Parameters:
101101
x: torch.Tensor of shape [..., irreps.dim]
102-
102+
103103
Returns:
104104
torch.Tensor of shape [..., factor, irreps.dim // factor]
105105
"""
@@ -121,7 +121,7 @@ def forward(self, x: torch.Tensor) -> torch.Tensor:
121121
122122
Parameters:
123123
x: torch.Tensor of shape [..., factor, irreps.dim // factor]
124-
124+
125125
Returns:
126126
torch.Tensor of shape [..., irreps.dim]
127127
"""

src/e3tools/nn/_scaling.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ def forward(self, data: torch.Tensor, weights: torch.Tensor) -> torch.Tensor:
2121
Parameters:
2222
data: torch.Tensor of shape [..., irreps_in.dim]
2323
weights: torch.Tensor of shape [..., irreps_in.num_irreps]
24-
24+
2525
Returns:
2626
torch.Tensor of shape [..., irreps_in.dim]
2727
"""

0 commit comments

Comments
 (0)