/** * This method encodes array as thresholds, updating input array at the same time * * @param input * @param threshold * @return encoded array is returned */ @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 * @param boundary @return encoded array is returned */ @Override public INDArray thresholdEncode(INDArray input, double threshold, Integer boundary) { return backendExecutioner.thresholdEncode(input,threshold,boundary); }
} else { encoded = Nd4j.getExecutioner().thresholdEncode(updates, currentThreshold.get().get(), boundary == null ? null : atomicBoundary.get());