FANN FANNConnection::setWeight
(PECL fann >= 1.0.0)
FANNConnection::setWeight — 연결 가중치를 설정합니다.
설명
public FANNConnection::setWeight(float $weight
): void
연결 가중치를 설정합니다.
이 메서드는 fann_set_weight()와 다릅니다. 네트워크에서 가중치 값을 업데이트하지 않습니다. 네트워크 값은 fann_set_weight_array()를 호출한 후에만 업데이트됩니다.
매개변수
weight
- 연결 무게.
반환 값
값이 반환되지 않습니다.