ConvAEDecoder¶
- class behavenet.models.aes.ConvAEDecoder(hparams)[source]¶
Bases:
BaseModuleConvolutional decoder.
Methods Summary
Construct the decoder.
forward(x[, pool_idx, target_output_size, ...])Process input data.
Methods Documentation
- forward(x, pool_idx=None, target_output_size=None, dataset=None)[source]¶
Process input data.
- Parameters:
x (
torch.Tensorobject) – input datapool_idx (
list) – max pooling indices from encoder for unpoolingtarget_output_size (
list) – layer-specific output sizes from encoder for unpoolingdataset (
int) – used with session-specific io layers
- Returns:
shape (n_input_channels, y_pix, x_pix)
- Return type:
torch.Tensor