Dig into the jit capability, but found roadblock.
Got errors like:
RuntimeError: forward() Expected a value of type ‘Tensor’ for argument ‘ctx’ but instead found type ‘FunctionBackward’.
Inferred ‘ctx’ to be of type ‘Tensor’ because it was not annotated with an explicit type.
Position: 0
Seems autograd script is still WIP [https://github.com/pytorch/pytorch/pull/22582 10]
Would be appreciate if anyone can help.