Updated PyTorch IR (markdown)

driazati
2019-03-13 23:43:06 -07:00
parent 646247b6c9
commit a13d972c6f

@ -1,4 +1,4 @@
*This document presents the IR as of October 17th 2018. Changes like mutability have rendered parts of this document slightly outdated.*
*This document presents the IR as of October 17th 2018. See [the JIT README.md](https://github.com/pytorch/pytorch/blob/master/torch/csrc/jit/README.md) for more up-to-date info*
PyTorch uses an SSA-based IR, which is built of multiple entities:
- `Graph` is generally the outermost container for the program representation. At the moment all programs are mostly pure (modulo special operators like `prim::Print` or `prim::PythonOp`), but this will change in the future.