PHP 8.4.6 Released!

fann_get_activation_function

(PECL fann >= 1.0.0)

fann_get_activation_function返回激励函数

说明

fann_get_activation_function(resource $ann, int $layer, int $neuron): int

获取在层数为 layer 的网络中神经元数为 neuron的激励函数,输入层被计为 0.

在输入层是不能获取神经元激励函数的。

返回值将会是激励函数 常量之一。

参数

ann

神经网络 资源

layer

层数。

neuron

神经元数

返回值

学习函数 常量或者如果神经未在神经网络中定义返回 -1, 错误则返回 false .

参见

添加备注

用户贡献的备注

此页面尚无用户贡献的备注。
To Top

Follow Lee on X/Twitter - Father, Husband, Serial builder creating AI, crypto, games & web tools. We are friends :) AI Will Come To Life!

Check out: eBank.nz (Art Generator) | Netwrck.com (AI Tools) | Text-Generator.io (AI API) | BitBank.nz (Crypto AI) | ReadingTime (Kids Reading) | RewordGame | BigMultiplayerChess | WebFiddle | How.nz | Helix AI Assistant