Fann 函数
PHP Manual

fann_length_train_data

(PECL fann >= 1.0.0)

fann_length_train_dataReturns the number of training patterns in the train data

说明

int fann_length_train_data ( resource $data )

Returns the number of training patterns in the train data resource.

参数

data

Neural network training data resource.

返回值

Number of elements in the train data resource, or FALSE on error.


Fann 函数
PHP Manual