Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

T2 Program Generation #11

Open
Maokami opened this issue Feb 1, 2024 · 1 comment
Open

T2 Program Generation #11

Maokami opened this issue Feb 1, 2024 · 1 comment
Assignees

Comments

@Maokami
Copy link
Collaborator

Maokami commented Feb 1, 2024

No description provided.

@Maokami Maokami self-assigned this Feb 1, 2024
@Maokami
Copy link
Collaborator Author

Maokami commented Feb 1, 2024

@hyerinshelly

instruction:
sbt console

scala> import fhetest.Utils.Backend
     | import fhetest.Utils.ENC_TYPE
     | import fhetest.Phase.Generate
     | Generate(Backend.OpenFHE, ENC_TYPE.ENC_INT, 10)

This instruction will generate 10 random T2 program, convert them OpenFHE program, and execute it.

You are free to modify the following codes:
fba0bef#diff-a3f78cf8f2582a3da154d992d951233dbf013b6e9bd2f4c0adc1de8f2fdc92c5R19-R39

The ast variable contains the random T2 program AST.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant