fann_set_weight
Set a connection in the network
説明
bool fann_set_weight(
resource $ann,
int $from_neuron,
int $to_neuron,
float $weight
)
パラメータ
-
ann
-
ニューラルネットワークリソース。
-
from_neuron
-
The neuron where the connection starts
-
to_neuron
-
The neuron where the connection ends
-
weight
-
Connection weight
戻り値
成功した場合に true、それ以外の場合に false を返します。