GoLang FANNConnection::setWeight

request it (164)
GoLang replacement for PHP's FANNConnection::setWeight [edit | history]

Do you know a GoLang replacement for PHP's FANNConnection::setWeight? Write it!

PHP FANNConnection::setWeight

PHP original manual for FANNConnection::setWeight [ show | php.net ]


(PECL fann >= 1.0.0)

FANNConnection::setWeightSets the connections weight


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



The connection weight.

Return Values

No value is returned.