Repository navigation
Replies: 1 comment
|
Hi @awvwgk Thanks for this query. At present passing of multiple tensors into and out of models is done using a Fortran array of At present we do not support a dictionary input, and it's not immediately clear to me what the Fortran equivalent would be - I suppose a derived type that was passed through to the C++ and unpacked into a dictionary. This is something we could look at, but I'm not sure it would be a priority in our current work schedule.
It's not immediately how easy it would be to do via a single function, so an interface to Hopefully that makes vague sense and I'd be happy to discuss further. |
Uh oh!
There was an error while loading. Please reload this page.
For one of my torchscript checkpoints I am passing the tensors as a dictionary via the keyword arguments to the model.
Here is the example function as used in C++:
Can both the keyword arguments and the dictionary of tensors be represented in FTorch?
All reactions