Function genann_free

Synopsis

#include <genann.h>

void genann_free(genann *ann)

Description

Frees the memory used by an ann.

Mentioned in

Source

Lines 205-208 in genann.c. Line 86 in genann.h.

void genann_free(genann *ann) {
    /* The weight, output, and delta pointers go to the same buffer. */
    free(ann);
}





Add Discussion as Guest

Log in