API for faster key generation

If you look at the compile_and_test function defined in the same notebook, you should be able to spot the different steps (compile, keygen, forward) :slightly_smiling_face: If you also want to to separate the steps found in the forward (quantized, encrypt, run, decrypt, dequantize), I believe you’ll have to take a look at the source code (forward, and more specifically its FHE part _fhe_forward).