獲取網路中每層的神經元數量。

fann_get_layer_array

(PECL fann >= 1.0.0)

fann_get_layer_array獲取網路中每層的神經元數量。

說明

fann_get_layer_array(resource $ann): array

獲取網路中每層的神經元數量。

偏差神經元不包括在內,所以層數是和 fann_create 函式組想匹配的。

參數

ann

神經網路 資源

返回值

包含每層神經元數量的陣列。

Leave a Reply

Your email address will not be published. Required fields are marked *