It seems the python implementation of TensorFlow has bitwise_or implementation, however, the TensorFlow.js does not.
I need to compare two 1D tensors and perform a bitwise OR operation (element-wise). Does anyone now how to do this without looping in javascript (it needs to be done on arrays of lengths in the hundreds of millions, hence avoiding loops)? I've only found very complicated workarounds thus far...
Here's what it looks like in Python with numpy for reference:
array_or = array_1 | array_2