- Determine the incoming/outgoing connections. Set the following:
incoming neurons = outgoing neurons from preceding hidden layer.
outgoing neurons = number of labels
- Configure the output layer for the neural network:
builder.layer(new OutputLayer.Builder(new LossMCXENT(weightsArray)).nIn(incomingConnectionCount).nOut(labelCount).activation(Activation.SOFTMAX).build())
..................Content has been hidden....................
You can't read the all page of ebook, please click
here login for view all page.