We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Why do you use exp for lambda_2 def net_f(self, x, t): lambda_1 = self.lambda_1 lambda_2 = tf.exp(self.lambda_2) u = self.net_u(x,t) u_t = tf.gradients(u, t)[0] u_x = tf.gradients(u, x)[0] u_xx = tf.gradients(u_x, x)[0] f = u_t + lambda_1*u*u_x - lambda_2*u_xx
def net_f(self, x, t): lambda_1 = self.lambda_1 lambda_2 = tf.exp(self.lambda_2) u = self.net_u(x,t) u_t = tf.gradients(u, t)[0] u_x = tf.gradients(u, x)[0] u_xx = tf.gradients(u_x, x)[0] f = u_t + lambda_1*u*u_x - lambda_2*u_xx
The text was updated successfully, but these errors were encountered:
I have the same question!
Sorry, something went wrong.
It's been discussed here: #34
make sure that lambda2 always is positive
No branches or pull requests
Why do you use exp for lambda_2
def net_f(self, x, t): lambda_1 = self.lambda_1 lambda_2 = tf.exp(self.lambda_2) u = self.net_u(x,t) u_t = tf.gradients(u, t)[0] u_x = tf.gradients(u, x)[0] u_xx = tf.gradients(u_x, x)[0] f = u_t + lambda_1*u*u_x - lambda_2*u_xx
The text was updated successfully, but these errors were encountered: