google / heir

A compiler for homomorphic encryption
https://heir.dev/
Apache License 2.0
294 stars 44 forks source link

Access Transformation: Add support for multi-dimensional tensors #866

Open MeronZerihun opened 1 month ago

MeronZerihun commented 1 month ago

Our current implementation only supports secret-index reads/writes for single dimensional tensor. We need to add support for multi-dimensional tensor read/write operations at: 1) Secret indices where accesses at each dimension should be transformed, and 2) Mixed secret-and-public indices where only secret-index accesses at respective dimensions should be transformed.

This transformation is part of the data-oblivious transformation pipeline (#777).

github-actions[bot] commented 3 weeks ago

This issue has 2 outstanding TODOs:

This comment was autogenerated by todo-backlinks