Skip to content

Commit

Permalink
fix multistep error
Browse files Browse the repository at this point in the history
  • Loading branch information
Difers committed Jul 25, 2023
1 parent 77f5e39 commit bda4d25
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/legacy_test/test_lamb_op.py
Original file line number Diff line number Diff line change
Expand Up @@ -340,8 +340,8 @@ def test_check_output(self):
self.inputs['Beta2Pow'] = convert_float_to_uint16(beta2_pow_out)

# Randomize gradient for next step
self.inputs['Grad'] = np.random.uniform(-1, 1, (102, 105)).astype(
np.float32
self.inputs['Grad'] = convert_float_to_uint16(
np.random.uniform(-1, 1, (102, 105)).astype(np.float32)
)


Expand Down

0 comments on commit bda4d25

Please sign in to comment.