fann_set_activation_steepness_layer
(PECL fann >= 1.0.0)
fann_set_activation_steepness_layer — 為提供的層中所有的神經元設定啟用陡度
說明
fann_set_activation_steepness_layer(resource
$ann, float $activation_steepness, int $layer): bool
為層數為 layer 中所有的神經元設定啟用陡度,將輸入層計為0。
在輸出層中設定啟用陡度是不可能的。
參數
-
ann -
神經網路 資源。
-
activation_steepness -
啟用陡度。
-
layer -
層數。
返回值
成功時返回 true,其它情況下返回 false。
參見
- fann_set_activation_steepness() - 為提供的神經元和層設定啟用陡度
- fann_set_activation_steepness_hidden() - 為所有隱藏層中所有的神經元設定啟用函式陡度
- fann_set_activation_steepness_output() - 在輸出層中設定啟用陡度
- fann_get_activation_steepness() - 為提供的神經和網路層數返回啟用陡度
- fann_set_activation_function() - 為已應用的神經元和層設定啟用函式