略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: FANNConnection

2024-05-02

FANNConnection 类

(No version information available, might only be in Git)

简介

FANNConnection 被用于神经网络的连接。 该类的对象一般在fann_get_connection_array()fann_set_weight_array()函数中被使用。

类摘要

class FANNConnection {
/* 属性 */
public $from_neuron;
public $to_neuron;
public $weight;
/* 方法 */
public __construct(int $from_neuron, int $to_neuron, float $weight)
public getFromNeuron(): int
public getToNeuron(): int
public getWeight(): void
public setWeight(float $weight): bool
}

属性

from_neuron

开始连接的神经元。

to_neuron

结束连接的神经元。

weight

连接的权重。

目录

add a noteadd a note

User Contributed Notes

There are no user contributed notes for this page.

官方地址:https://www.php.net/manual/en/class.fannconnection.php

北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3