Function fann_sys::fann_set_weight
[−]
[src]
pub unsafe extern "C" 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
ann
- A previously created neural network structure of typefann
pointer.
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.