The Complete SPRLIB & ANNLIB

pocket_weights

- store network weights in a pocket (LOCAL)

SYNOPSIS

double *pocket_weight (net, weight_vector)

ARGUMENTS

NET *net A pointer to a NET structure.
double *weight_vector The current pocket weight vector.

RETURNS

The function returns NULL if an error was detected, otherwise it returns the pocket weight vector with the new weights.

FUNCTION

The function stores the network weights of the network pointed to by net in a pocket vector pointed to by weight_vector. If weight_vector is NULL, space will be allocated for the pointer to store the weights in; otherwise just the new pocket is returned.

SEE ALSO

bp_learn_pocket, restore_pocket_weights

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