Hi
Is there somewhere formal TorchScript grammar spec available? Or it’s all hardcoded in JIT complier? Having that would help implementing some decent TorchScript tooling and add support in popular editors like vs.code or emacs and would greatly improve experience. Don’t know exactly how others are doing this, but my current development flow is little bit frustrating: write model in python, run jit, and plumb all places which are not supported by jit right now. And there is a lot little details which I’m learning by actually converting my code not covered anywhere else (recent dicovery for example: jit does not support yield, which makes perfect sense if You think about it, especially in context of optimization, but it’s not documented). I would rather like to write my models in TorchScript subset from the beginning.
Artur