Enum fann_sys::fann_errno_enum
source · #[repr(C)]pub enum fann_errno_enum {
Show 19 variants
FANN_E_NO_ERROR = 0,
FANN_E_CANT_OPEN_CONFIG_R = 1,
FANN_E_CANT_OPEN_CONFIG_W = 2,
FANN_E_WRONG_CONFIG_VERSION = 3,
FANN_E_CANT_READ_CONFIG = 4,
FANN_E_CANT_READ_NEURON = 5,
FANN_E_CANT_READ_CONNECTIONS = 6,
FANN_E_WRONG_NUM_CONNECTIONS = 7,
FANN_E_CANT_OPEN_TD_W = 8,
FANN_E_CANT_OPEN_TD_R = 9,
FANN_E_CANT_READ_TD = 10,
FANN_E_CANT_ALLOCATE_MEM = 11,
FANN_E_CANT_TRAIN_ACTIVATION = 12,
FANN_E_CANT_USE_ACTIVATION = 13,
FANN_E_TRAIN_DATA_MISMATCH = 14,
FANN_E_CANT_USE_TRAIN_ALG = 15,
FANN_E_TRAIN_DATA_SUBSET = 16,
FANN_E_INDEX_OUT_OF_BOUND = 17,
FANN_E_SCALE_NOT_PRESENT = 18,
}
Expand description
Error events on fann
and fann_train_data
.
Variants§
FANN_E_NO_ERROR = 0
No error
FANN_E_CANT_OPEN_CONFIG_R = 1
Unable to open configuration file for reading
FANN_E_CANT_OPEN_CONFIG_W = 2
Unable to open configuration file for writing
FANN_E_WRONG_CONFIG_VERSION = 3
Wrong version of configuration file
FANN_E_CANT_READ_CONFIG = 4
Error reading info from configuration file
FANN_E_CANT_READ_NEURON = 5
Error reading neuron info from configuration file
FANN_E_CANT_READ_CONNECTIONS = 6
Error reading connections from configuration file
FANN_E_WRONG_NUM_CONNECTIONS = 7
Number of connections not equal to the number expected
FANN_E_CANT_OPEN_TD_W = 8
Unable to open train data file for writing
FANN_E_CANT_OPEN_TD_R = 9
Unable to open train data file for reading
FANN_E_CANT_READ_TD = 10
Error reading training data from file
FANN_E_CANT_ALLOCATE_MEM = 11
Unable to allocate memory
FANN_E_CANT_TRAIN_ACTIVATION = 12
Unable to train with the selected activation function
FANN_E_CANT_USE_ACTIVATION = 13
Unable to use the selected activation function
FANN_E_TRAIN_DATA_MISMATCH = 14
Irreconcilable differences between two fann_train_data
structures
FANN_E_CANT_USE_TRAIN_ALG = 15
Unable to use the selected training algorithm
FANN_E_TRAIN_DATA_SUBSET = 16
Trying to take subset which is not within the training set
FANN_E_INDEX_OUT_OF_BOUND = 17
Index is out of bound
FANN_E_SCALE_NOT_PRESENT = 18
Scaling parameters not present
Trait Implementations§
source§impl Clone for fann_errno_enum
impl Clone for fann_errno_enum
source§fn clone(&self) -> fann_errno_enum
fn clone(&self) -> fann_errno_enum
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more