Type Definition fann_sys::fann_type [] [src]

type fann_type = c_float;

The type of weights, inputs and outputs in a neural network. In the Rust bindings, it is defined as c_float by default, and as c_double, if the double feature is configured.

In the FANN C library, fann_type is defined as:

  • float - if you include fann.h or floatfann.h
  • double - if you include doublefann.h
  • int - if you include fixedfann.h (only for executing a network, not training).