__init__(self, args, kwargs) (defined in torch.nn.modules.rnn.RNN) | torch.nn.modules.rnn.RNN | |
__init__(self, mode, input_size, hidden_size, num_layers=1, bias=True, batch_first=False, dropout=0., bidirectional=False) (defined in torch.nn.modules.rnn.RNNBase) | torch.nn.modules.rnn.RNNBase | |
__setstate__(self, d) (defined in torch.nn.modules.rnn.RNNBase) | torch.nn.modules.rnn.RNNBase | |
all_weights(self) (defined in torch.nn.modules.rnn.RNNBase) | torch.nn.modules.rnn.RNNBase | |
batch_first (defined in torch.nn.modules.rnn.RNNBase) | torch.nn.modules.rnn.RNNBase | |
bias (defined in torch.nn.modules.rnn.RNNBase) | torch.nn.modules.rnn.RNNBase | |
bidirectional (defined in torch.nn.modules.rnn.RNNBase) | torch.nn.modules.rnn.RNNBase | |
check_forward_args(self, input, hidden, batch_sizes) (defined in torch.nn.modules.rnn.RNNBase) | torch.nn.modules.rnn.RNNBase | |
check_hidden_size(self, hx, expected_hidden_size, msg='Expected hidden size{}, got) (defined in torch.nn.modules.rnn.RNNBase) | torch.nn.modules.rnn.RNNBase | |
check_input(self, input, batch_sizes) (defined in torch.nn.modules.rnn.RNNBase) | torch.nn.modules.rnn.RNNBase | |
dropout (defined in torch.nn.modules.rnn.RNNBase) | torch.nn.modules.rnn.RNNBase | |
extra_repr(self) (defined in torch.nn.modules.rnn.RNNBase) | torch.nn.modules.rnn.RNNBase | |
flatten_parameters(self) | torch.nn.modules.rnn.RNNBase | |
forward(self, input, hx=None) (defined in torch.nn.modules.rnn.RNNBase) | torch.nn.modules.rnn.RNNBase | |
get_expected_hidden_size(self, input, batch_sizes) (defined in torch.nn.modules.rnn.RNNBase) | torch.nn.modules.rnn.RNNBase | |
get_flat_weights(self) (defined in torch.nn.modules.rnn.RNNBase) | torch.nn.modules.rnn.RNNBase | |
hidden_size (defined in torch.nn.modules.rnn.RNNBase) | torch.nn.modules.rnn.RNNBase | |
input_size (defined in torch.nn.modules.rnn.RNNBase) | torch.nn.modules.rnn.RNNBase | |
mode (defined in torch.nn.modules.rnn.RNNBase) | torch.nn.modules.rnn.RNNBase | |
num_layers (defined in torch.nn.modules.rnn.RNNBase) | torch.nn.modules.rnn.RNNBase | |
permute_hidden(self, hx, permutation) (defined in torch.nn.modules.rnn.RNNBase) | torch.nn.modules.rnn.RNNBase | |
reset_parameters(self) (defined in torch.nn.modules.rnn.RNNBase) | torch.nn.modules.rnn.RNNBase | |