Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extend random.orthogonal to semi-orthogonal matrices and simplify initializers.orthogonal #26291

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

carlosgmartin
Copy link
Contributor

jax/_src/random.py Show resolved Hide resolved
jax/_src/random.py Outdated Show resolved Hide resolved
tests/random_lax_test.py Outdated Show resolved Hide resolved
tests/random_lax_test.py Outdated Show resolved Hide resolved
tests/random_lax_test.py Outdated Show resolved Hide resolved
@carlosgmartin carlosgmartin force-pushed the simplify_nn_initializers_orthogonal branch from 84fcfbe to c47b476 Compare February 4, 2025 18:57
@carlosgmartin
Copy link
Contributor Author

@jakevdp Updated.

@google-ml-butler google-ml-butler bot added kokoro:force-run pull ready Ready for copybara import and testing labels Feb 4, 2025
@jakevdp
Copy link
Collaborator

jakevdp commented Feb 4, 2025

Looks like there are some type checking errors – you may have to rename m after converting it to int.

@carlosgmartin carlosgmartin force-pushed the simplify_nn_initializers_orthogonal branch from c47b476 to bfb0c6b Compare February 4, 2025 22:33
@carlosgmartin
Copy link
Contributor Author

@jakevdp Fixed.

@carlosgmartin carlosgmartin force-pushed the simplify_nn_initializers_orthogonal branch from bfb0c6b to 3bca112 Compare February 4, 2025 22:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pull ready Ready for copybara import and testing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants