fann_sys::fann_get_layer_array [] [src]

pub unsafe extern fn fann_get_layer_array(ann: *const fann, layers: *mut c_uint)

Get the number of neurons in each layer in the network.

Bias is not included so the layers match the fann_create functions.

Parameters

The layers array must be preallocated to accommodate at least fann_num_layers items.

This function appears in FANN >= 2.1.0.