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