Package pylearn :: Package sandbox :: Module scan_inputs_groups
[hide private]

Module scan_inputs_groups

source code

Classes [hide private]
BlockGrad
This Op block the gradient of a variable
ScanDotEnc
This Op takes an index list (as tensor.ivector), a list of matrices representing the available inputs (as theano.generic), and all the encoding weights tensor.dmatrix of the model.
ScanDotEncGrad
This Op computes the gradient wrt the weights for ScanDotEnc
ScanDotDec
This Op takes an index list (as tensor.ivector), a list of matrices representing the available inputs (as theano.generic), the hidden layer of the DAA (theano.dmatrix) and all the decoding weights tensor.dmatrix of the model.
ScanDotDecGrad
This Op computes the gradient wrt the weights for ScanDotDec
ScanNoise
This Op takes an index list (as tensor.ivector), a list of matrices representing the available inputs (as theano.generic), a probability of individual bit masking and a probability of modality masking.
ScanInputs
This Op takes an index list (as tensor.ivector) and a list of matrices representing the available inputs (as theano.generic).
ScanBiasDec
This Op takes an index list (as tensor.ivector), a list of matrices representing the available inputs (as theano.generic) and the decoding bias tensor.dvector.
ScanBiasDecGrad
This Op computes the gradient wrt the bias for ScanBiasDec
ScanMask
This Op takes an index list (as tensor.ivector) and a list of weigths.
FillMissing
Given an input, output two elements:
MaskGradient
Takes as input a tensor and a mask.
MaskSelect
Given an input x and a mask m (both vectors), outputs a vector that contains all elements x[i] such that bool(m[i]) is True.
Functions [hide private]
 
Checkidx_list(idx_list) source code
 
Checkhidd(hidd) source code
 
Checkweights_list(weights_list) source code
 
Checkbias_list(bias_list) source code
Variables [hide private]
  blockgrad = BlockGrad()
  scandotenc = ScanDotEnc()
  scandotdec = ScanDotDec()
  scannoise = ScanNoise()
  scaninputs = ScanInputs()
  scanbiasdec = ScanBiasDec()
  scanmaskenc = ScanMask(True)
  scanmaskdec = ScanMask(False)
  fill_missing_with_zeros = FillMissing(0)
  mask_gradient = MaskGradient()
  mask_select = MaskSelect()

Imports: numpy, theano, T, Op, Apply, scal