Skip to content
This repository has been archived by the owner on Dec 12, 2024. It is now read-only.

Commit

Permalink
Adjust type check
Browse files Browse the repository at this point in the history
  • Loading branch information
marbre committed Nov 2, 2023
1 parent b7b488b commit c5cf36e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/generate_testscases.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def generate_example(model_input):

dtype = model_input.dtype

if dtype == np.float32:
if dtype == "float32":
return np.random.uniform(low=0.0, high=1.0,
size=shape).astype(np.float32)
else:
Expand Down

0 comments on commit c5cf36e

Please sign in to comment.