Skip to content

Commit 3f3ea12

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 4c2fc44 commit 3f3ea12

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tiatoolbox/models/architecture/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ def __init__(self: UpSample2x) -> None:
201201
"""Initialize :class:`UpSample2x`."""
202202
super().__init__()
203203
# correct way to create constant within module
204-
self.unpool_mat:torch.Tensor
204+
self.unpool_mat: torch.Tensor
205205
self.register_buffer(
206206
"unpool_mat",
207207
torch.from_numpy(np.ones((2, 2), dtype="float32")),

0 commit comments

Comments
 (0)