The Complete SPRLIB & ANNLIB

MAP_RECIPE

- simplified description of a map of a shared weights network

SYNOPSIS

typedef struct map_recipe

{

long SizeX; Size of the map (x).

long SizeY; Size of the map (y).

long PixelShiftX; Shift of the filter in the previous map (x).

long PixelShiftY; Shift of the filter in the previous map (y).

long FilterSizeX; Size of the filter (x).

long FilterSizeY; Size of the filter (y).

int NoMaskElements; Number of unique weights.

int Mask[MAX_FILTER_SIZE][MAX_FILTER_SIZE]; Indication which weight is connected to which unique weight.

} MAP_RECIPE;

DESCRIPTION

Shared weights networks can be created by reading a text-file (a recipe) using the read_sharednet_recipe function. This function returns SHAREDNET_RECIPE, which can be given to the function create_sharednet to build a real network. A MAP_RECIPE is part of such a SHAREDNET_RECIPE. In fact, this type is a kind of intermediate description. For more information on the ideas of filtering and shifts, see the MAP.

SEE ALSO

SHAREDNET_RECIPE, LAYER_RECIPE, read_sharednet_recipe, create_sharednet

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