Skip to content

Commit edd1fa6

Browse files
lukamacXeratec
authored andcommitted
Remove extraneous f-prefix
1 parent bb447ed commit edd1fa6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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)