Function neural_network::feed_forward()

← Back to Class neural_network



Module neuralClass neural_network → feed_forward()

Description

Move forward the input matrix through the model's layers

neural_network::feed_forward(input)


Parameters


Return Value


Usage Example

import neural
 
model = neural_network([784, 20, 10, 10], 0.01)
 
model.feed_forward(dataset.inputs(0))
model.back_propagation(dataset.outputs(0))
 
error = calculate_error(model.outputs(), expected)