Skip to content

Commit 9206fed

Browse files
nilqNiels Horn
authored and
Niels Horn
committed
Remove unnecessary allclose parameters for consistency.
1 parent e624542 commit 9206fed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

flax/nnx/nn/normalization.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -891,7 +891,7 @@ class WeightNorm(nnx.Module):
891891
892892
>>> w = model.normed_linear.layer_instance.kernel.value
893893
>>> col_norms = np.linalg.norm(np.array(w), axis=0)
894-
>>> np.testing.assert_allclose(col_norms, np.ones(4), rtol=1e-5, atol=1e-5)
894+
>>> np.testing.assert_allclose(col_norms, np.ones(4))
895895
896896
Args:
897897
layer_instance: The layer instance to wrap.

0 commit comments

Comments
 (0)