Function neural_network::outputs()

← Back to Class neural_network



Module neuralClass neural_network → outputs()

Description

Get the output layer of the model

neural_network::outputs()


Parameters

There are no parameters.


Return Value


Usage Example

import neural
 
model = neural_network([784, 20, 10, 10], 0.01)
 
model.feed_forward(dataset.inputs(0))
outputs = model.outputs()
 
predicted = argmax(outputs)