Files
concrete/docs/dev/api/concrete.fhe.tfhers.md
2025-01-07 09:17:59 +01:00

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 type
  • precision (int): precision of the result type

Returns:

  • TFHERSIntegerType: constructed type from the loaded parameters