update : 2015.11.03
php.shukuma.com

검색:
 
 
Sets the connections weight

FANNConnection::setWeight

(PECL fann >= 1.0.0)

FANNConnection::setWeightSets the connections weight

설명

public bool FANNConnection::setWeight ( float $weight )

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.

반환값

Returns TRUE on success, or FALSE otherwise.