unsigned int fann_get_num_input(struct fann * ann);
Return the number of neurons in the input layer of ann.
This function appears in FANN >= 1.0.0.