fann_sys::fann_set_weight [] [src]

pub unsafe extern fn fann_set_weight(ann: *mut fann, from_neuron: c_uint, to_neuron: c_uint, weight: fann_type)

Set a connection in the network.

Parameters

Only the weights can be changed. The connection/weight is ignored if it does not already exist in the network.

This function appears in FANN >= 2.1.0.