File tree Expand file tree Collapse file tree 2 files changed +0
-4
lines changed Expand file tree Collapse file tree 2 files changed +0
-4
lines changed Original file line number Diff line number Diff line change @@ -108,8 +108,6 @@ def build(self, var_list):
108108
109109 def update_step (self , gradient , variable , learning_rate ):
110110 """Update step given gradient and the associated model variable."""
111- beta_1_power = None
112- beta_2_power = None
113111 lr = ops .cast (learning_rate , variable .dtype )
114112 gradient = ops .cast (gradient , variable .dtype )
115113 local_step = ops .cast (self .iterations + 1 , variable .dtype )
Original file line number Diff line number Diff line change @@ -124,8 +124,6 @@ def build(self, var_list):
124124
125125 def update_step (self , gradient , variable , learning_rate ):
126126 """Update step given gradient and the associated model variable."""
127- beta_1_power = None
128- beta_2_power = None
129127 lr = ops .cast (learning_rate , variable .dtype )
130128 gradient = ops .cast (gradient , variable .dtype )
131129 local_step = ops .cast (self .iterations + 1 , variable .dtype )
You can’t perform that action at this time.
0 commit comments