Feature Request Type
Usability
Have you searched existing issues?
Yes
Is your feature request related to a problem?
我正在使用spu中的cheetah进行安全两方计算
def data_a():
return np.array([5,4])
alice_data =alice(data_a)()
def data_b():
return np.array([1,2])
bob_data = bob(data_b)()
def secure_multiply(x,y):
return x*y
result = spu(secure_multiply)(alice_data, bob_data)
Describe features you want to add to SPU
目前,我尝试启用了 enable_pphlo_profile 和 enable_action_trace,但无法直接获取通信统计信息。希望框架能够提供以下功能:
1.输出每次操作的通信轮数和通信量;
2.在任务完成后,返回完整的通信统计报告。
Describe features you want to add to SPU
能不能提供一个接口,类似enable_action_trace这种,能够返回整个函数运算过程中的通信轮数和通信量。
Feature Request Type
Usability
Have you searched existing issues?
Yes
Is your feature request related to a problem?
我正在使用spu中的cheetah进行安全两方计算
def data_a():
return np.array([5,4])
alice_data =alice(data_a)()
def data_b():
return np.array([1,2])
bob_data = bob(data_b)()
def secure_multiply(x,y):
return x*y
result = spu(secure_multiply)(alice_data, bob_data)
Describe features you want to add to SPU
目前,我尝试启用了 enable_pphlo_profile 和 enable_action_trace,但无法直接获取通信统计信息。希望框架能够提供以下功能:
1.输出每次操作的通信轮数和通信量;
2.在任务完成后,返回完整的通信统计报告。
Describe features you want to add to SPU
能不能提供一个接口,类似enable_action_trace这种,能够返回整个函数运算过程中的通信轮数和通信量。