nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/autodiff/samediff/SameDiffOpExecutioner.java
@Override
    public INDArray thresholdEncode(INDArray input, double threshold) {
        return backendExecutioner.thresholdEncode(input,threshold);
    }
@Override
    public INDArray thresholdEncode(INDArray input, double threshold) {
        return backendExecutioner.thresholdEncode(input,threshold);
    }
@ Override public INDArray thresholdEncode ( INDArray input , double threshold ) { return backendExecutioner . thresholdEncode ( input , threshold ) ; }
This method encodes array as thresholds, updating input array at the same time

@param input
@param threshold
@return encoded array is returned
This method encodes array as thresholds updating input array at the same time