Function fann_sys::fann_set_weight_array
source · pub unsafe extern "C" fn fann_set_weight_array(
ann: *mut fann,
connections: *mut fann_connection,
num_connections: c_uint
)
Expand description
Set connections in the network.
§Parameters
ann
- A previously created neural network structure of typefann
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.