(PECL fann >= 1.0.0)
fann_length_train_data — Returns the number of training patterns in the train data
$data
) : intReturns 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.