Beispiel #1
0
 /**
  * Reconstructs the visible INPUT. A reconstruction is a propdown of the reconstructed hidden
  * input.
  *
  * @param training true or false
  * @return the reconstruction of the visible input
  */
 @Override
 public INDArray activate(boolean training) {
   if (training && conf.getLayer().getDropOut() > 0.0) {
     input = Dropout.applyDropout(input, conf.getLayer().getDropOut(), dropoutMask);
   }
   // reconstructed: propUp ----> hidden propDown to transform
   INDArray propUp = propUp(input, training);
   return propUp;
 }