Home | Trees | Indices | Help |
|
---|
|
Switchboard for a 2-dimensional topology. This is a specialized version of SwitchboardLayer that makes it easy to implement connection topologies which are based on a 2-dimensional network layers. The input connections are assumed to be grouped into so called channels, which are considered as lying in a two dimensional rectangular plane. Each output channel corresponds to a 2d rectangular field in the input plane. The fields can overlap. The coordinates follow the standard image convention (see the above CoordinateTranslator class). public attributes (in addition to init arguments and inherited attributes): unused_channels_xy out_channels_xy
|
|||
|
|||
Inherited from Inherited from |
|||
Inherited from ChannelSwitchboard | |||
---|---|---|---|
|
|||
|
|||
|
|||
Inherited from Switchboard | |||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from Node | |||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|
|||
Inherited from Switchboard | |||
---|---|---|---|
|
|
|||
Inherited from |
|||
Inherited from Node | |||
---|---|---|---|
_train_seq List of tuples: |
|||
dtype dtype |
|||
input_dim Input dimensions |
|||
output_dim Output dimensions |
|||
supported_dtypes Supported dtypes |
|
Calculate the connections. Keyword arguments: in_channels_xy -- 2-Tuple with number of input channels in the x- and y-direction (or a single number for both). This has to be specified, since the actual input is only one 1d array. field_channels_xy -- 2-Tuple with number of channels in each field in the x- and y-direction (or a single number for both). field_spacing_xy -- 2-Tuple with offset between two fields in the x- and y-direction (or a single number for both). in_channel_dim -- Number of connections per input channel. ignore_cover -- Boolean value defines if an Rectangular2dSwitchboardException is raised when the fields do not cover all input channels. Set this to True if you are willing to risk loosing input channels at the border.
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Tue Mar 8 12:39:48 2016 | http://epydoc.sourceforge.net |