Skip to content

Commit 3f50347

Browse files
committed
Lint
Signed-off-by: Andrea Fasoli <[email protected]>
1 parent c75ce70 commit 3f50347

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

fms_mo/modules/linear.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -343,10 +343,7 @@ def get_smoothq_scale(self, x):
343343
else:
344344
alpha = self.smoothq_alpha
345345
smoothq_scale = (
346-
(
347-
self.smoothq_act_scale.pow(alpha)
348-
/ weight_scale.pow(1.0 - alpha)
349-
)
346+
(self.smoothq_act_scale.pow(alpha) / weight_scale.pow(1.0 - alpha))
350347
.clamp(min=1e-5)
351348
.to(x.dtype)
352349
)

0 commit comments

Comments
 (0)