Package com.github.neuralnetworks.calculation.neuronfunctions

Examples of com.github.neuralnetworks.calculation.neuronfunctions.AparapiNoise


  public float[] getNextTarget() {
      float[] result = base.getNextInput();
      if (corruptionRate != null && corruptionRate > 0) {
    if (noise == null) {
        noiseTensor = TensorFactory.tensor(base.getNextInput().length);
        noise = new AparapiNoise(noiseTensor, base.getNextInput().length, corruptionRate, 0);
    }

    System.arraycopy(result, 0, noiseTensor.getElements(), 0, result.length);
    noise.value(noiseTensor);
    result = noiseTensor.getElements();
View Full Code Here

TOP

Related Classes of com.github.neuralnetworks.calculation.neuronfunctions.AparapiNoise

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.