(PECL fann >= 1.0.0)
fann_set_weight_array — 在網(wǎng)絡中設置一個連接。
$ann
$connections
在網(wǎng)絡中設置一個連接。
只有權重將會被改變,連接和權重將被忽略如果它們不存在于網(wǎng)絡中。
ann
神經網(wǎng)絡 資源。
connections
一個包含 FANNConnection 對象的數(shù)組。
成功時返回 true,其它情況下返回 false。
true
false