fann_sys::fann_run [] [src]

pub unsafe extern fn fann_run(ann: *mut fann, input: *const fann_type) -> *mut fann_type

Runs input through the neural network, returning an array of outputs, the number of which being equal to the number of neurons in the output layer.

Ownership of the output array remains with the fann structure. It may be overwritten by subsequent function calls. Do not deallocate it!

See also

fann_test

This function appears in FANN >= 1.0.0.