The Complete SPRLIB & ANNLIB

fprintf_layers

- save the layers part of a network file (LOCAL)

SYNOPSIS

int fprintf_layers (stream, net)

ARGUMENTS

FILE *stream A valid file pointer.
NET *net A pointer to a correct NET structure.

RETURNS

TRUE if an error occurred, FALSE otherwise.

FUNCTION

This function is called by fprintf_network to write a layer part of a network file, i.e. the part between LAYERBEGIN and LAYEREND, for each layer in net. See NET-IO-format for the layout of this part.

NOTE

Since layer- and map-information is only stored for shared weights neural networks (having the NET.NetFlag field set to SHAREDNET) this function is only called when the NetFlag field has that value.

SEE ALSO

fprintf_network, fprintf_maps

This document was generated using api2html on Thu Mar 5 09:00:00 MET DST 1998