INDArray rawBucketOf ( INDArray query ) { INDArray pattern = hash ( query ) ; INDArray res = Nd4j . zeros ( DataType . BOOL , index . shape ( ) ) ; Nd4j . getExecutioner ( ) . exec ( new BroadcastEqualTo ( index , pattern , res , - 1 ) ) ; return res . castTo ( Nd4j . defaultFloatingPointType ( ) ) . min ( - 1 ) ; }
data elements in the same bucket as the query without entropy