Update README.md
This commit is contained in:
parent
8bfffdd3f4
commit
8bec2ad5aa
|
@ -39,7 +39,7 @@ import dbsecmpc
|
|||
|
||||
对于NKDBsec框架,我们支持两种使用方式,一种是单机多线程模拟,另一种是多机交互。我们分别给出两个使用样例:
|
||||
#### 1、单机多线程模拟
|
||||
|
||||
对于test.py示例:
|
||||
```python
|
||||
import numpy as np
|
||||
import dbsecmpc
|
||||
|
@ -127,6 +127,10 @@ pc2.join()
|
|||
pc3.join()
|
||||
print(time.time() - st)
|
||||
```
|
||||
然后进入test.py所在的bash界面输入如下命令即可运行此示例:
|
||||
```bash
|
||||
python3 test.py
|
||||
```
|
||||
|
||||
#### 2、多机交互操作
|
||||
```python
|
||||
|
|
Loading…
Reference in New Issue