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

Cannot pass multiple inputs to a model #1

Closed
jatkinson1000 opened this issue Mar 28, 2023 · 0 comments · Fixed by #2
Closed

Cannot pass multiple inputs to a model #1

jatkinson1000 opened this issue Mar 28, 2023 · 0 comments · Fixed by #2
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@jatkinson1000
Copy link
Member

At present the library only allows us to pass a single tensor to a model and receive a single output tensor.

This needs updating so that we can pass multiple input tensors.

In the Fortran:

  • Instead of passing an input tensor pass an array of tensors.
  • Get the length of the input array of tensors and pass that to the c++

In the c++:

  • loop over the number of tensors and append (.push_back) on to the inputs to the C function.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants