(PECL fann >= 1.0.0)
fann_set_weight_array — Set connections in the network
$ann
, array $connections
)Set connections in the network.
Only the weights can be changed, connections and weights are ignored if they do not already exist in the network.
ann
Ресурс (resource) нейронной сети.
connections
An array of FANNConnection objects
Возвращает TRUE
в случае успешного выполнения, или FALSE
в противном случае.