Skip to content
New issue

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

multiple inputs and mixed data inputs by DEEPXDE #1785

Open
ITcooker-liu opened this issue Jun 21, 2024 · 1 comment
Open

multiple inputs and mixed data inputs by DEEPXDE #1785

ITcooker-liu opened this issue Jun 21, 2024 · 1 comment

Comments

@ITcooker-liu
Copy link

Hello, everyone. I would like to ask if I can create neural network models with multiple inputs and mixed data inputs by DEEPXDE.

the next is a demo of deepxde (Inverse problem for the Poisson equation with unknown forcing field):

""""
Next, we choose the networks. We use two networks, one to train for u(x) and the other to train for q(x). Here, we use two fully connected neural networks of depth 4 (i.e., 3 hidden layers) and width 20.

net = dde.nn.PFNN([1, [20, 20], [20, 20], [20, 20], 2], "tanh", "Glorot uniform")

""""

like the above demo, can i realize my idea by seting 1 to 2 ?

@lululxvi
Copy link
Owner

lululxvi commented Aug 5, 2024

Yes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants