php教程

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

Neural network resource.

返回值

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

User Contributed Notes

There are no user contributed notes for this page.

CopyRight © 2008-2022 verySource.Com All Rights reserved. 京ICP备17048824号-1 京公网安备:11010502034788