CakeFest 2024: The Official CakePHP Conference

FANNConnection::setWeight

(PECL fann >= 1.0.0)

FANNConnection::setWeight设置连接权重。

说明

public FANNConnection::setWeight(float $weight): void

设置连接权重。

该方法不同于 fann_set_weight() 方法. 该方法不会网络中的权重值。只有当调用了 fann_set_weight_array() 方法后网络中的权重值才会更改。

参数

weight

连接权重。

返回值

无返回值。

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top