commit | 04dcb0213e98e8cabaa8acc0e8bebcacfb905771 | [log] [tgz] |
---|---|---|
author | Nicolas Vasilache <ntv@google.com> | Tue Jan 15 09:54:15 2019 -0800 |
committer | jpienaar <jpienaar@google.com> | Fri Mar 29 15:17:37 2019 -0700 |
tree | 0962d614f0bc42295ea857d32a6085b4b70a0792 | |
parent | 23464b395e2849975cdcb66742ad0f29f0c20caf [diff] |
Add edsc::Indexed helper struct to act as syntactic sugar This CL adds edsc::Indexed. This helper class exists purely for sugaring purposes and allows writing expressions such as: ```mlir Indexed A(...), B(...), C(...); ForNest(ivs, zeros, shapeA, ones, { C[ivs] = A[ivs] + B[ivs] }); ``` PiperOrigin-RevId: 229388644