Fann 函数
PHP Manual

fann_set_weight_array

(PECL fann >= 1.0.0)

fann_set_weight_arraySet connections in the network

说明

bool fann_set_weight_array ( resource $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

Neural network resource.

connections

An array of FANNConnection objects

返回值

Returns TRUE on success, or FALSE otherwise.


Fann 函数
PHP Manual