neuralmonkey.nn.pervasive_dropout_wrapper module

class neuralmonkey.nn.pervasive_dropout_wrapper.PervasiveDropoutWrapper(cell, mask, scale) → None

Bases: tensorflow.python.ops.rnn_cell_impl.RNNCell

__init__(cell, mask, scale) → None
output_size

Integer or TensorShape – size of outputs produced by this cell.

state_size

size(s) of state(s) used by this cell.

It can be represented by an Integer, a TensorShape or a tuple of Integers or TensorShapes.