php8.5
Home/ Manual/ fann / functions/ fann_set_weight_array

fann_set_weight_array

PHP function Edit on GitHub ✎

(PECL fann >= 1.0.0)

Set connections in the network

Description

fann_set_weight_array(resource $ann, array $connections): bool

Set connections in the network.

Only the weights can be changed, connections and weights are ignored if they do not already exist in the network.

Parameters

ann

Description

connections

An array of FANNConnection objects

Return Values Bool

Source: reference/fann/functions/fann-set-weight-array.xml · from the official PHP manual (php/doc-en)