Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
Xiang Song committed Oct 5, 2023
1 parent 3840874 commit 56cea32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/unit-tests/gconstruct/test_transform.py
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ def test_fp_min_max_transform(input_dtype, out_dtype):
feats[feats < min_val] = min_val
feats = (feats-min_val)/(max_val-min_val)
feats = feats if out_dtype is None else feats.astype(out_dtype)
assert_almost_equal(norm_feats, feats, decimal=6)
assert_almost_equal(norm_feats, feats, decimal=5)

feats = np.random.randn(100, 1).astype(input_dtype)
norm_feats = transform(feats)["test"]
Expand Down

0 comments on commit 56cea32

Please sign in to comment.