void DeleteNet_bn ( net_bn*  net )

Removes net from the system, and releases all resources it uses (e.g., frees memory), including all its substructures (e.g., nodes).

It is okay if net is a NULL pointer (then no action is taken).

Version:

In versions previous to 2.09, this function was named FreeNet_bn.

See also:

DeleteNode_bn  Removes a node from a net, and releases the memory it uses