code: public INDArray getCorruptedInput(INDArray x, double corruptionLevel) {
          INDArray corrupted = Nd4j.getDistributions().createBinomial(1, 1 - corruptionLevel).sample(x.ulike());
          corrupted.muli(x.castTo(corrupted.dataType()));
          return corrupted;
      }
docs: Corrupts the given input by doing a binomial sampling
  given the corruption level
  @param x the input to corrupt
  @param corruptionLevel the corruption value
  @return the binomial sampled corrupted input