Function fann_sys::fann_set_weight_array [] [src]

pub unsafe extern "C" fn fann_set_weight_array(
    ann: *mut fann,
    connections: *mut fann_connection,
    num_connections: c_uint
)

Set connections in the network.

Parameters

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

Only the weights can be changed, connections and weights are ignored if they do not already exist in the network.

The array must accommodate num_connections items.

This function appears in FANN >= 2.1.0.