Replies: 5 comments
-
Hi, Not sure that we will be opening old models, but we are planning a major update some time soon.
If remember correctly, the old jit models had a large chunk size, did not have an SR parameter, did not have internal state.
It is the case for all C++ models, only |
Beta Was this translation helpful? Give feedback.
-
Em..., |
Beta Was this translation helpful? Give feedback.
-
With multiple input variables? |
Beta Was this translation helpful? Give feedback.
-
I will check it . |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
Discussed in #154
Hi, I had encounted the same problem.
When I call the 'forward' function with one parameters (like this forward(inputs)), the code can be compiled correctly, but it can't run with the error 'what(): forward() is missing value for argument 'sr'.'.
However, When I call the 'forward' function with two parameters (like this forward(inputs,sr)), the code can't be compiled correctly with the error 'candidate expects 1 argument, 2 provided'.
I doubt that the jit model was not exported correctly, please check it at your convenience. By the way, I can call the 'forward' function with one parameters (like this forward(inputs)) with the old jit model.
On the other hand, the function 'reset_states' of the jit model can't be used in C++ code, can you provide a name so we can use it like this 'model.get_method('name')()' or 'model.run_method('name')'
Beta Was this translation helpful? Give feedback.
All reactions