Skip to content

Conversation

@copybara-service
Copy link
Contributor

add canonicalization pattern for sigmoid operation

  • Add a math_ext.sigmoid operation
  • Define a rewrite pattern from 1/(1 + exp(-x)) = sigmoid(x)

* Add a math_ext.sigmoid operation
* Define a rewrite pattern from 1/(1 + exp(-x)) = sigmoid(x)

PiperOrigin-RevId: 829051284
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.

2 participants