Replies: 1 comment 10 replies
-
Alternatively, you can use |
Beta Was this translation helpful? Give feedback.
10 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Dumb question.
Sometimes it's just too convenient to write:
Float(cond)
instead ofdr::select(cond, 1.f, 0.f)
or:
Float(cond) * x
instead ofdr::select(cond, x, 0.f)
Appears to be working fine, is there any performance penalty ?
Beta Was this translation helpful? Give feedback.
All reactions