mirror of
https://github.com/luxfhe/docs.git
synced 2026-10-30 18:13:39 +00:00
865 B
865 B
module torus.fhe.dtypes.utils
Declaration of various functions and constants related to data types.
function combine_dtypes
combine_dtypes(dtypes: list[BaseDataType]) → BaseDataType
Get the 'BaseDataType' that can represent a set of 'BaseDataType's.
Args: dtypes (List[BaseDataType]): dtypes to combine
Returns: BaseDataType: dtype that can hold all the given dtypes (potentially lossy)