Package com.github.neuralnetworks.architecture

Examples of com.github.neuralnetworks.architecture.NeuralNetworkImpl


  result.setLayerCalculator(lcTanh(result, outputCC));
  return result;
    }

    public static NeuralNetworkImpl maxout(int[] layers, boolean addBias, ConnectionCalculator outputCC) {
  NeuralNetworkImpl result = mlp(layers, addBias);
  result.setLayerCalculator(lcMaxout(result, outputCC));
  result.getConnections().stream().filter(c -> c instanceof FullyConnected).forEach(c -> {
      MaxoutWinners.getInstance().addConnections(c);
  });

  return result;
    }
View Full Code Here

TOP

Related Classes of com.github.neuralnetworks.architecture.NeuralNetworkImpl

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.