Runtime error - Unsupported value kind: Tensor

I could resolve this error through some rigorous debugging. Turned out that there was a method which expected 3 arguments, but only 2 were being passed as the third argument (=None) was not being used in the method which was required to be scripted.
A better error description, at least giving some idea of location of the error, would have been helpful here.

2 Likes