Skip to content

Commit aabf175

Browse files
committed
Formatting
Signed-off-by: NabJa <[email protected]>
1 parent 6d4c703 commit aabf175

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

monai/networks/blocks/pos_embed_utils.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,7 @@ def build_fourier_position_embedding(
5555
to_tuple = _ntuple(spatial_dims)
5656
grid_size_t = to_tuple(grid_size)
5757
if len(grid_size_t) != spatial_dims:
58-
raise ValueError(
59-
f"Length of grid_size ({len(grid_size_t)}) must be the same as spatial_dims."
60-
)
58+
raise ValueError(f"Length of grid_size ({len(grid_size_t)}) must be the same as spatial_dims.")
6159

6260
if embed_dim % (2 * spatial_dims) != 0:
6361
raise AssertionError(

0 commit comments

Comments
 (0)