8000 Rectifier by avi-stripe · Pull Request #175 · stripe/rainier · GitHub
[go: up one dir, main page]

Skip to content

Rectifier - #175

Merged
avi-stripe merged 5 commits into
masterfrom
minmax
Jul 13, 2018
Merged

avi-stripe merged 5 commits into
masterfrom
minmax

Conversation

@avi-stripe
Copy link
Copy Markdown
Contributor
  • Adds RectifierOp
  • Uses it in the implementations of comparison ops
  • Uses comparison ops for min/max
  • Uses max to do the logsumexp trick

@avi-stripe
Copy link
Copy Markdown
Contributor Author

We also lurked in some jacobian fixes.

@mio-stripe
Copy link
Copy Markdown
Contributor

Nice! LGTM modulo a CI failure.

@avi-stripe
Copy link
Copy Markdown
Contributor Author

looks from the tests like we broke Exponential somehow?

@mikeheaton-stripe
mikeheaton-stripe commented Jul 11, 2018 •
Copy link
Copy Markdown
Contributor

I'll look into it

@codecov-io
Copy link
Copy Markdown

Codecov Report

Merging #175 into master will decrease coverage by 0.18%.
The diff coverage is 52.94%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #175      +/-   ##
==========================================
- Coverage   49.62%   49.43%   -0.19%     
==========================================
  Files          60       60              
  Lines        1846     1857      +11     
  Branches      138      135       -3     
==========================================
+ Hits          916      918       +2     
- Misses        930      939       +9
Impacted Files Coverage Δ
...ore/src/main/scala/com/stripe/rainier/ir/Ops.scala 100% <ø> (ø) ⬆️
...ain/scala/com/stripe/rainier/core/Continuous.scala 74.68% <0%> (+1.84%) ⬆️
.../src/main/scala/com/stripe/rainier/ir/Tracer.scala 0% <0%> (ø) ⬆️
...in/scala/com/stripe/rainier/compute/Gradient.scala 79.24% <100%> (+0.39%) ⬆️
.../scala/com/stripe/rainier/ir/MethodGenerator.scala 88.13% <100%> (+0.2%) ⬆️
...c/main/scala/com/stripe/rainier/compute/Real.scala 65.9% <50%> (-7.78%) ⬇️
...ain/scala/com/stripe/rainier/compute/RealOps.scala 66.66% <55.55%> (-2.85%) ⬇️
...c/main/scala/com/stripe/rainier/core/Support.scala 25% <75%> (+2.77%) ⬆️
...ain/scala/com/stripe/rainier/compute/LineOps.scala 91.66% <0%> (-2.78%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 4f8cde7...0b57a58. Read the comment docs.

@avi-stripe
avi-stripe merged commit 71ea4af into master Jul 13, 2018
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.

4 participants

0