-
Is this the most efficient way of passing tensors from one model to another (e.g. Encoder to Decoder) in Java - The code below doesn't include closing of the input resources for the
Thank you, IP |
Beta Was this translation helpful? Give feedback.
Answered by
Craigacp
Dec 28, 2022
Replies: 1 comment 1 reply
-
You can pass the OnnxTensors directly between models, provided you manage the lifetimes appropriately. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
iprovalo
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can pass the OnnxTensors directly between models, provided you manage the lifetimes appropriately.