You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 28, 2024. It is now read-only.
I trained an NMTmodel which takes string as input and returns string as output. My models returns Tensor and a string in its output.
When I convert the iValue to string using toStr() i get garbage values instead of the string.
final IValue [] output=module.forward(IValue.from(word)).toTuple();
String pred= output[1].toStr()
Please help me with this issue
The text was updated successfully, but these errors were encountered:
I trained an NMTmodel which takes string as input and returns string as output. My models returns Tensor and a string in its output.
When I convert the iValue to string using toStr() i get garbage values instead of the string.
final IValue [] output=module.forward(IValue.from(word)).toTuple();
String pred= output[1].toStr()
Please help me with this issue
The text was updated successfully, but these errors were encountered: