secretflow.device.kernels package#
Submodules#
secretflow.device.kernels.heu module#
Functions:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- secretflow.device.kernels.heu.heu_to_same_heu(self: HEUObject, config: MoveConfig)[source]#
- secretflow.device.kernels.heu.heu_to_other_heu(self: DeviceObject, dest_device: HEU, config)[source]#
- secretflow.device.kernels.heu.heu_to_pyu(self: HEUObject, device: PYU, config: MoveConfig)[source]#
secretflow.device.kernels.pyu module#
Functions:
|
secretflow.device.kernels.spu module#
Functions:
|
|
|
|
|
|
|
|
|
|
|
- secretflow.device.kernels.spu.psi_df(device: SPU, key: Union[str, List[str], Dict[Device, List[str]]], dfs: List[PYUObject], receiver: str, protocol='KKRT_PSI_2PC', precheck_input=True, sort=True, broadcast_result=True, bucket_size=1048576, curve_type='CURVE_25519') List[PYUObject] [source]#
- secretflow.device.kernels.spu.psi_csv(device: SPU, key: Union[str, List[str], Dict[Device, List[str]]], input_path: Union[str, Dict[Device, str]], output_path: Union[str, Dict[Device, str]], receiver: str, protocol='KKRT_PSI_2PC', precheck_input=True, sort=True, broadcast_result=True, bucket_size=1048576, curve_type='CURVE_25519')[source]#
- secretflow.device.kernels.spu.psi_join_df(device: SPU, key: Union[str, List[str], Dict[Device, List[str]]], dfs: List[PYUObject], receiver: str, join_party: str, protocol='KKRT_PSI_2PC', precheck_input=True, bucket_size=1048576, curve_type='CURVE_25519') List[PYUObject] [source]#
- secretflow.device.kernels.spu.psi_join_csv(device: SPU, key: Union[str, List[str], Dict[Device, List[str]]], input_path: Union[str, Dict[Device, str]], output_path: Union[str, Dict[Device, str]], receiver: str, join_party: str, protocol='KKRT_PSI_2PC', precheck_input=True, bucket_size=1048576, curve_type='CURVE_25519')[source]#