Skip to content

Commit 2594ce6

Browse files
committed
Remove extraneous f-prefix
1 parent c8b79e2 commit 2594ce6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Deeploy/CommonExtensions/OptimizationPasses/TopologyOptimizationPasses/LoweringOptimizationPasses.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ def _transformLayoutConst(const: gs.Constant, spatialDims: int, targetChannelsFi
165165

166166

167167
def _transformLayoutDwWeightConst(const: gs.Constant, targetChannelsFirst: bool) -> None:
168-
assert not targetChannelsFirst, f"Target layout should be channels_last!"
168+
assert not targetChannelsFirst, "Target layout should be channels_last!"
169169
assert isinstance(const, gs.Constant)
170170
dims = len(const.shape)
171171
perm = [*range(1, dims), 0]

0 commit comments

Comments
 (0)