Hacker News new | ask | show | jobs
by WithinReason 1327 days ago
max(0,x)
1 comments

That's a ReduceOp right now, more annoying to reason about than a UnaryOp. But in the limit, yea. Or add an elementwise BinaryOp for max.

Submit a PR if you can improve something!