The Complete SPRLIB & ANNLIB

fprintf_maps

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

SYNOPSIS

int fprintf_maps (stream, layer)

ARGUMENTS

FILE *stream A valid file pointer.
LAYER *layer A pointer to a valid LAYER structure.

RETURNS

TRUE if an error occurred, FALSE otherwise.

FUNCTION

This function is called by fprintf_network to write the maps part of a network file, i.e. the part between MAPBEGIN and MAPEND. See NET-IO-format for the layout of this part. Unlike fprintf_layers, this routine writes the maps for one layer only, so it has to be called for every layer in the network.

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_layers

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