How to do it...

  1. Determine the incoming/outgoing connections. Set the following:
incoming neurons = outgoing neurons from preceding layer.
outgoing neurons = incoming neurons for the next hidden layer.
  1. Configure hidden layers using DenseLayer:
builder.layer(new DenseLayer.Builder().nIn(incomingConnectionCount).nOut(outgoingConnectionCount).activation(Activation.RELU).build());
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset