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

[jax2tf] Support inequality and min/max for booleans. #6956

Merged
merged 1 commit into from
Jun 14, 2021

Conversation

gnecula
Copy link
Collaborator

@gnecula gnecula commented Jun 12, 2021

For inequalities we add casts to int8. For min/max we rewrite
to logical operations and/or.

@gnecula gnecula self-assigned this Jun 12, 2021
@google-cla google-cla bot added the cla: yes label Jun 12, 2021
@gnecula gnecula added the pull ready Ready for copybara import and testing label Jun 12, 2021
@gnecula gnecula force-pushed the tf_bool branch 2 times, most recently from 888f8c4 to 802f901 Compare June 12, 2021 09:53
For inequalities we add casts to int8. For min/max we rewrite
to logical operations and/or.
@copybara-service copybara-service bot merged commit 4114669 into jax-ml:master Jun 14, 2021
@gnecula gnecula deleted the tf_bool branch June 14, 2021 06:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes pull ready Ready for copybara import and testing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant