- Define the neural network configuration using MultiLayerConfiguration:
MultiLayerConfiguration.Builder builder = new NeuralNetConfiguration.Builder().weightInit(WeightInit.RELU_UNIFORM)
.updater(new Adam(0.015D))
.list();
- Define the input layer configuration using DenseLayer:
builder.layer(new DenseLayer.Builder().nIn(incomingConnectionCount).nOut(outgoingConnectionCount).activation(Activation.RELU)
.build())
.build();
..................Content has been hidden....................
You can't read the all page of ebook, please click
here login for view all page.