api.Cmp is very costly #843
Replies: 2 comments 9 replies
-
Currently Alternatively - if you know that the absolute difference between the values you are comparing is small, then it is more efficient to use the Can you describe what is ReLU function? Maybe there is an alternative way to implement it? |
Beta Was this translation helpful? Give feedback.
-
@ivokub I'm so glad I could help. @sid-alluri |
Beta Was this translation helpful? Give feedback.
-
Hi, I am trying to implement a ReLU function. I am using
api.Cmp()
andapi.ToBinary()
. My implementation is inefficient and costing a lot of memory. Is there any way I can optimize this and implement an efficient ReLU?Beta Was this translation helpful? Give feedback.
All reactions