« FANNConnection::getWeight
Igbinary »

FANNConnection::setWeight

(PECL fann >= 1.0.0)

FANNConnection::setWeight — Sets the connections weight

説明

public function 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().

パラメータ

weight

The connection weight.

戻り値

値を返しません。

関連キーワード:
weight   FANNConnection   Sets   connections   setWeight   fann   connection   network   getWeight   Igbinary   float   method   different   update   after   calling
関連する関数・ページ:
fannconnection.getweight   class.fannconnection   function.fann-set-weight   function.fann-set-weight-array   fannconnection.construct   function.fann-randomize-weights