heir
heir copied to clipboard
Support custom input scales
Placeholder issue arising from today's office hour.
- make lattigo backend usable from Python frontend
- Allow setting scale in frontend, probably something like
def foo(x: Secret[F32, Scale[50]], y: Secret[F32]):which gets converted to afunc.funcargAttr, e.g.,{ckks.scale = 50} - Make
--wrap-genericpass forward function arg/result attributes to the__argattrs/res_attrsof thesecret.genericwrapper - (Optional) add a pass to convert the
{ckks.scale = 50}to the proper management attribute, e.g.,{mgmt.mgmt = #mgmt.mgmt<level = 1, scale = 50>} - Make
--populate-scale-ckkspass honor these attributes