獲取神經網路的層數。

fann_get_num_layers

(PECL fann >= 1.0.0)

fann_get_num_layers獲取神經網路的層數。

說明

fann_get_num_layers(resource $ann): int

獲取神經網路的層數。

參數

ann

神經網路 資源

返回值

成功,則返回神經網路的層數,錯誤則返回 false .

Leave a Reply

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