pytorch/test/cpp/lazy
Bin Bao e8f4c9cc40 [LT] Upstream LazyView and view ops IR Nodes (#69277)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/69277

LazyView is the main class for tracking alias caused by view
ops. The corresponding IR classes for view ops are hand-written now, and
we can switch to code-gen them in future. For certain view ops, they
have a reverse IR class to perform inplace update in the backward
direction on a chain of alias ops.

As part of the future work, we will simplify the logic for LazyView once
the functionalization pass in core is ready to use.

Test Plan: Imported from OSS

Reviewed By: wconstab

Differential Revision: D32820014

Pulled By: desertfire

fbshipit-source-id: d9eb526cb23885f667e4815dc9dd291a7b7e4256
2021-12-04 08:44:54 -08:00
..
CMakeLists.txt [LTC] Upstream some utilities (#69046) 2021-11-30 02:44:02 -08:00
test_backend_device.cpp [LTC] Upstream helpers for c10::Device <=> BackendDevice (#69064) 2021-12-01 12:15:32 -08:00
test_cache.cpp
test_ir.cpp [LT] Upstream TsNode, TsNodeLowering, TsLoweringContext (#68154) 2021-11-12 12:57:20 -08:00
test_ir_util.cpp
test_misc.cpp [LTC] Upstream some utilities (#69046) 2021-11-30 02:44:02 -08:00
test_permutation_util.cpp [LT] Upstream LazyView and view ops IR Nodes (#69277) 2021-12-04 08:44:54 -08:00
test_shape.cpp Add lazy::Shape::numel() (#68314) 2021-11-29 08:38:09 -08:00
test_util.cpp [LTC] Upstream some utilities (#69046) 2021-11-30 02:44:02 -08:00