Function fann_sys::fann_get_layer_array[][src]

pub unsafe extern "C" 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

  • ann - A previously created neural network structure of type fann pointer.

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

This function appears in FANN >= 2.1.0.