The Complete SPRLIB & ANNLIB

fscanf_unit

- load a unit part of a network file (LOCAL)

SYNOPSIS

UNIT *fscanf_unit (stream)

ARGUMENTS

FILE *stream A valid file pointer.

RETURNS

A pointer to a UNIT structure if successful, NULL in case of an error.

FUNCTION

This function is called by fscanf_network to read all unit parts of a network file, i.e. the part between UNITBEGIN and UNITEND. See NET-IO-format for the layout of this part.

NOTE

This function also reads the complete history of UNIT values. It uses the fscanf_function_keyword to read the activation and transfer function and their possible parameters. It also calls the fscanf_link function to read the incoming and outgoing links. Finally, it calls fscanf_weight to read the bias (theta) and its history.

SEE ALSO

fscanf_network

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