©
이 문서에서는 PHP 중국어 웹사이트 매뉴얼 풀어 주다
(PECL fann >= 1.0.0)
fann_set_weight — Set a connection in the network
$ann
, int $from_neuron
, int $to_neuron
, float $weight
)Set a connections in the network.
ann
Neural network resource .
from_neuron
The neuron where the connection starts
to_neuron
The neuron where the connection ends
weight
Connection weight
Returns TRUE
on success, or FALSE
otherwise.