(PECL fann >= 1.0.0)
fann_set_weight_array — Set connections in the network
$ann
, array $connections
) : boolSet 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ニューラルネットワークリソース。
connectionsAn array of FANNConnection objects
成功した場合に TRUE、それ以外の場合に FALSE を返します。