Skip to content

encoder_base

allennlp.modules.encoder_base

[SOURCE]


RnnState#

RnnState = Union[torch.Tensor, Tuple[torch.Tensor, torch.Tensor]]

RnnStateStorage#

RnnStateStorage = Tuple[torch.Tensor, ...]