CakeFest 2024: The Official CakePHP Conference

fann_get_total_neurons

(PECL fann >= 1.0.0)

fann_get_total_neurons获取整个网络中神经元的数量。

说明

fann_get_total_neurons(resource $ann): int

获取整个网络中神经元的数量。 这个数量也包括偏置神经元,因此一个2-4-2的网络有2+4+2+2(偏置神经元)=10个神经元。

参数

ann

神经网络 资源

返回值

成功,则返回整个网络神经元的数量, 错误则返回 false .

add a note

User Contributed Notes

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