Skip to content

linalg: add eps to normalize#771

Open
staticpayload wants to merge 1 commit intogoogle:mainfrom
staticpayload:normalize-eps
Open

linalg: add eps to normalize#771
staticpayload wants to merge 1 commit intogoogle:mainfrom
staticpayload:normalize-eps

Conversation

@staticpayload
Copy link

Summary

  • add optional eps to enp.linalg.normalize to avoid division by zero
  • add tests for eps behavior and zero vectors

Testing

  • not run locally (tensorflow not installed; parametrize_xnp includes tnp/torch)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant