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

The data shape of the triplet if the number of input functions of branch nets is more than one? #9

Closed
WangYicunZJU opened this issue Aug 13, 2021 · 4 comments

Comments

@WangYicunZJU
Copy link

Hello:
First of all, thank you very much for your excellent work!
I have met a little problem.
How to reshape the dataset (or change the code) if the number of input functions of branch nets is more than one?
Just like G_phi in this paper("DeepM&Mnet: Inferring the electroconvection multiphysics fields..."), (c+, c-) -->phi.
Or like G_rhoNO in this paper("DeepM&Mnet for hypersonics..."), (rho_N2, rho_O2) --> rho_NO.
Specifically, what about the data shape of the triplet?
Thanks in advance.

@lululxvi
Copy link
Owner

Good question. In the DeepMMnet paper, we simply concatenate the two functions into a long vector.

@WangYicunZJU
Copy link
Author

Hello Dr. Lu,
It is very nice to get your reply.
Following your answer, I think the data of the branch nets may be like this:
[ u1(x1), ..., u1(xm) ] for one input function u1;
[ u1(x1), ..., u1(xm), u2(x1), ..., u2(xm) ] for two input function u1 & u2.
Or like this:
[ u1(x1), u2(x1),..., u1(xm), u2(xm) ] ?
I think the former seems to be the case. Do I have the correct understanding?
I am looking forward to your reply.
Thanks in advance.

@lululxvi
Copy link
Owner

Yes, we use the former.

@WangYicunZJU
Copy link
Author

OK, Dr. Lu.
I think I have got it. Thanks again!

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