PHP 8.3.4 Released!

FANNConnection::setWeight

(PECL fann >= 1.0.0)

FANNConnection::setWeightSets the connections weight

Açıklama

public FANNConnection::setWeight(float $weight): void

Sets the connection weight.

This method is different than fann_set_weight(). It does not update the weight value in the network. The network value is updated only after calling fann_set_weight_array().

Bağımsız Değişkenler

weight

The connection weight.

Dönen Değerler

Dönen değer yok.

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top