Skip to content

Commit

Permalink
Fix test_lu_op (#55896)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom-Zheng authored Aug 8, 2023
1 parent 523916f commit 4728d58
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/legacy_test/test_lu_op.py
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,7 @@ def run_lu_dygraph(shape, dtype):
np_dtype = np.float32
elif dtype == "float64":
np_dtype = np.float64
np.random.seed(1024)
a = np.random.rand(*shape).astype(np_dtype)
m = a.shape[-2]
n = a.shape[-1]
Expand Down

0 comments on commit 4728d58

Please sign in to comment.