fann_get_num_layers

Get the number of layers in the neural network

説明

int fann_get_num_layers(resource $ann)

Get the number of layers in the neural network.

パラメータ

ann
ニューラルネットワークリソース。

戻り値

The number of layers in the neural network, or false on error.