fann_sys::fann_set_weight_array [] [src]

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

Set connections in the network.

Parameters

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.