(PECL fann >= 1.0.0)
fann_set_weight — 在网络中设置一个连接。
$ann
   , int $from_neuron
   , int $to_neuron
   , float $weight
   ) : bool在网络中设置一个连接。
annNeural network resource.
from_neuron连接开始处的神经元。
to_neuron连接结束处的神经元。
weight连接权重。
Returns TRUE on success, or FALSE otherwise.