Skip to content
This repository was archived by the owner on Jul 7, 2023. It is now read-only.

Commit 9f29518

Browse files
T2T Teamcopybara-github
authored andcommitted
Remove unused params arg from MulConstant.
PiperOrigin-RevId: 272685588
1 parent 8e23892 commit 9f29518

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tensor2tensor/trax/layers/core.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -211,8 +211,7 @@ def AddConstant(x, constant=0.0, **unused_kwargs):
211211

212212

213213
@base.layer()
214-
def MulConstant(x, params, constant=1.0, **unused_kwargs):
215-
del params
214+
def MulConstant(x, constant=1.0, **unused_kwargs):
216215
return x * constant
217216

218217

0 commit comments

Comments
 (0)