int fann_get_num_input(resource ann);
fann_get_num_inputwill return the number of input neurons in ann.
fann_get_num_input
See also fann_get_num_output, fann_get_total_neurons.
fann_get_num_output
fann_get_total_neurons
This function appears in FANN-PHP >= 0.1.0.