| Home | Trees | Indices | Help |
|
|---|
|
|
Base class for Switchboards in which the data is bundled into channels.
The dimensions of the input / output channels are constant.
public attributes (in addition to inherited attributes):
out_channel_dim
in_channel_dim
output_channels
|
|||
|
|||
|
|||
|
|||
|
|||
|
Inherited from Inherited from |
|||
| 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 |
|||
|
|||
Initialize the switchboard.
connections -- Connection sequence like for a standard switchboard
(the indices do not correspond to whole channels, but single
connections).
out_channel_dim -- Number of connections per output channel.
in_channel_dim -- Number of connections per input channel (default 1).
All the components of an input channel are treated equally
by the switchboard (i.e., they are routed to the same output
channel).
|
Return the input connections for the given channel index. channel -- index of the requested channel (starting at 0) |
Return a Switchboard that does the routing for a single output channel. channel -- index of the requested channel (starting at 0) |
Return array of input channel indices for the given output channels.
channels -- Sequence of the requested output channels or a single
channel index (i.e. a number).
The returned array contains the indices of all input channels which
are connected to at least one of the given output channels.
|
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Tue Mar 8 12:39:48 2016 | http://epydoc.sourceforge.net |