The Complete SPRLIB & ANNLIB

fprintf_weight

- save a weight part of a network file (LOCAL)

SYNOPSIS

int fprintf_weight (stream, weight, option)

ARGUMENTS

FILE *stream A valid file pointer.
UNIT *unit A pointer to a correct WEIGHT structure.
long option An option parameter of type HIST-flags, indicating whether or not the weight's history should be saved.

RETURNS

TRUE if an error occurred, FALSE otherwise.

FUNCTION

This function is called by fprintf_network to write all weight parts of a network file, i.e. the part between WEIGHTBEGIN and WEIGHTEND. It is also used by fprintf_unit to write out the bias (theta) information. See NET-IO-format for the layout of this part.

NOTE

This function also writes the complete history of WEIGHT_VALUE structures.

SEE ALSO

fprintf_network, fprintf_unit

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