Physics Informed Learning, Neural Networks, Machine Learning, Differential Equations, Math.
nn.Linear(hidden_size, hidden_size) self.relu2 = nn.LeakyReLU() self.l3 = nn.Linear(hidden_size, hidden_size) self.relu3 = nn.LeakyReLU() self.l4 = nn.Linear(hidden_size, output_size) def forward(self, x): out = self.l1(x) out = self.relu1(out) out = self.l2(out) out = self.relu2(out) out =