Abstract
We propose a new notation for data parallel operators on multi-dimensional arrays named tensor comprehensions. This notation combines the basic principle of array-comprehensions with syntactical shortcuts very close to those found in the so-called Tensor Notations used in Physics and Mathematics. As a result, complex operators with rich semantics can be defined concisely. The key to this conciseness lies in the ability to define shape-polymorphic operations combined with the ability to infer array shapes from the immediate context. The paper provides a definition of the proposed notation, a formal shape inference process, as well as a set of re-write rules that translates tensor comprehensions as a zero-cost syntactic sugar into standard SaC expressions.
| Original language | English |
|---|---|
| Title of host publication | Proceedings of the 31st Symposium on Implementation and Application of Functional Languages |
| Editors | Jurrien Stutterheim, Wei Ngan Chin |
| Publisher | Association for Computing Machinery |
| ISBN (Electronic) | 9781450375627 |
| DOIs | |
| Publication status | Published - 25 Sept 2019 |
| Event | 31st Symposium on Implementation and Application of Functional Languages 2019 - Singapore, Singapore Duration: 25 Sept 2019 → 27 Sept 2019 |
Conference
| Conference | 31st Symposium on Implementation and Application of Functional Languages 2019 |
|---|---|
| Abbreviated title | IFL 2019 |
| Country/Territory | Singapore |
| City | Singapore |
| Period | 25/09/19 → 27/09/19 |
ASJC Scopus subject areas
- Human-Computer Interaction
- Computer Networks and Communications
- Computer Vision and Pattern Recognition
- Software
Fingerprint
Dive into the research topics of 'Tensor comprehensions in SaC'. Together they form a unique fingerprint.Cite this
- APA
- Author
- BIBTEX
- Harvard
- Standard
- RIS
- Vancouver