I have two questions:


Consider:
self.lstm1 = nn.LSTM(input_dim, hidden_dim, num_layers=1)
self.lstm2 = nn.LSTM(input_dim, hidden_dim, num_layers=2)
Why are the weights the same values?  Are the weights reused?lstm1.weight_ih_l0.size() == lstm2.weight_ih_l0.size()




self.lstm1a = nn.LSTM(input_dim, hidden_dim, num_layers=1)
self.lstm1b = nn.LSTM(hidden_dim, hidden_dim, num_layers=1)
self.lstm2= nn.LSTM(input_dim, hidden_dim, num_layers=2)
y2 = self.lstm2(x, …)
y1 = self.lstm1b(self.lstm1a(x, …),…)
Are y1,y2 the same thing?