略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: fann_get_total_neurons

2024-04-27

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 noteadd a note

User Contributed Notes

There are no user contributed notes for this page.

官方地址:https://www.php.net/manual/en/function.fann-get-total-neurons.php

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