Hi,
I successfully traced the model, but looks like I cannot save it.
I thought that if I could do something like  model = trace(model,  (params) ) then it is ready so saving? Am I wrong?
Torch version is ‘1.0.0.dev20190130’
Here is the trace:
---------------------------------------------------------------------------
RuntimeError                              Traceback (most recent call last)
<ipython-input-23-4014fec4f00b> in <module>
----> 1 ctc_model.save("ctc_test.ph")

RuntimeError: 
could not export python function call <python_value>. Remove calls to python functions before     export.:
@torch.jit.script_method
def forward(self, x, x_length):
    h_t, x_length = self.rnn(x, x_length)
                    ~~~~~~~~ <--- HERE