Is there a
Condition that works for elementwise comparison of two INDArrays?
Essentially I have want to compare two arrays, and replace any entries that are not equal with zero.
This would be something like:
data.replaceWhere( Nd4j.valueArrayOf(data.shape, replacement).castTo(DataType.DOUBLE), Conditions.lessThan(epsilon) )
Except comparing each point to a single value, we compare it to the same index in a different array.