mirror of
https://github.com/fofolee/uTools-Manuals.git
synced 2025-06-18 05:26:57 +08:00
55 lines
1.9 KiB
HTML
55 lines
1.9 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||
<html>
|
||
<head>
|
||
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
|
||
<title>获取整个网络中神经元的数量。</title>
|
||
</head>
|
||
<body class="docs"><div id="layout">
|
||
<div id="layout-content"><div id="function.fann-get-total-neurons" class="refentry">
|
||
<div class="refnamediv">
|
||
<h1 class="refname">fann_get_total_neurons</h1>
|
||
<p class="verinfo">(PECL fann >= 1.0.0)</p><p class="refpurpose"><span class="refname">fann_get_total_neurons</span> — <span class="dc-title">获取整个网络中神经元的数量。</span></p>
|
||
|
||
</div>
|
||
|
||
<div class="refsect1 description" id="refsect1-function.fann-get-total-neurons-description">
|
||
<h3 class="title">说明</h3>
|
||
<div class="methodsynopsis dc-description">
|
||
<span class="methodname"><strong>fann_get_total_neurons</strong></span>
|
||
( <span class="methodparam"><span class="type">resource</span> <code class="parameter">$ann</code></span>
|
||
) : <span class="type">int</span></div>
|
||
|
||
<p class="para rdfs-comment">
|
||
获取整个网络中神经元的数量。 这个数量也包括偏置神经元,因此一个2-4-2的网络有2+4+2+2(偏置神经元)=10个神经元。
|
||
</p>
|
||
</div>
|
||
|
||
|
||
<div class="refsect1 parameters" id="refsect1-function.fann-get-total-neurons-parameters">
|
||
<h3 class="title">参数</h3>
|
||
<dl>
|
||
|
||
|
||
<dt>
|
||
<code class="parameter">ann</code></dt>
|
||
|
||
<dd>
|
||
|
||
<p class="para">Neural network <span class="type"><a href="language.types.resource.html" class="type resource">resource</a></span>.</p>
|
||
</dd>
|
||
|
||
|
||
</dl>
|
||
|
||
</div>
|
||
|
||
|
||
<div class="refsect1 returnvalues" id="refsect1-function.fann-get-total-neurons-returnvalues">
|
||
<h3 class="title">返回值</h3>
|
||
<p class="para">
|
||
成功,则返回整个网络神经元的数量, 错误则返回 <strong><code>FALSE</code></strong> .
|
||
</p>
|
||
</div>
|
||
|
||
|
||
</div></div></div></body></html> |