mirror of
https://github.com/zama-ai/concrete.git
synced 2026-04-17 03:00:54 -04:00
1.2 KiB
1.2 KiB
module concrete.fhe.tfhers
tfhers module to represent, and compute on tfhers integer values.
Global Variables
- dtypes
- bridge
- values
- tracing
function get_type_from_params
get_type_from_params(
path_to_params_json: str,
is_signed: bool,
precision: int
) → TFHERSIntegerType
Get a TFHE-rs integer type from TFHE-rs parameters in JSON format.
Args:
path_to_params_json(str): path to the TFHE-rs parameters (JSON format)is_signed(bool): sign of the result typeprecision(int): precision of the result type
Returns:
TFHERSIntegerType: constructed type from the loaded parameters