The Complete SPRLIB & ANNLIB

LAYER_RECIPE

- simplified description of a layer of a shared weights network

SYNOPSIS

typedef struct layer_recipe

{

long LayerType; The type of layer - see LAYER-flags.

long NumMaps; The number of maps in this layer.

MAP_RECIPE *Map; Array of map descriptions.

int Connected[MAX_NO_MAPS][MAX_NO_MAPS]; A matrix indicating connections - see the note below.

} LAYER_RECIPE;

DESCRIPTION

Shared weights networks can be created by reading a text-file (a recipe) using the read_sharednet_recipe function. This function returns a SHAREDNET_RECIPE, which can be given to the function create_sharednet to build a real network. A LAYER_RECIPE is part of such a SHAREDNET_RECIPE. In fact, this type is a kind of intermediate description.

NOTE

Connected is a matrix in which entry [i][j] indicates the status of the connection between map i in this layer to map j in the previous layer. TRUE indicates there is a connection, FALSE there isn't one.

SEE ALSO

SHAREDNET_RECIPE, MAP_RECIPE, read_sharednet_recipe, create_sharednet

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