Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions tests/python/codegen/test_target_codegen_c_host.py
Original file line number Diff line number Diff line change
Expand Up @@ -197,9 +197,7 @@ def check_c():
# semantics every other backend and the constant folder use) differs
# from ties-away-from-zero. np.random.rand never produces them, so the
# random tail alone cannot exercise the tie rule.
midpoints = np.array(
[0.5, 1.5, 2.5, 3.5, -0.5, -1.5, -2.5, -3.5], dtype="float32"
)
midpoints = np.array([0.5, 1.5, 2.5, 3.5, -0.5, -1.5, -2.5, -3.5], dtype="float32")
a_np = np.concatenate(
[midpoints, np.random.rand(n - len(midpoints)).astype("float32")]
).astype("float32")
Expand Down
Loading