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