Comments (2)
sf.utils.testing.cluster_def
是一个用来快速构建spu config的helper,你可以手动构建runtime_config,参见SPU RuntimeConfig。例如:
{
'nodes': [
{
'party': 'alice',
'id': 'local:0',
'address': '127.0.0.1:9001',
'listen_address': '' # Optional. Address will be used if listen_address is empty.
},
{
'party': 'bob',
'id': 'local:1',
'address': '127.0.0.1:9002',
'listen_address': ''
},
],
'runtime_config': {
'protocol': spu.spu_pb2.SEMI2K,
'field': spu.spu_pb2.FM128,
'sigmoid_mode': spu.spu_pb2.RuntimeConfig.SIGMOID_REAL,
}
}
from secretflow.
好的,感谢清晰明了的解答。
from secretflow.
Related Issues (20)
- 关于ECDH-PSI (3P)的UML时序图,请老师帮忙审核一下看看是否有问题 HOT 3
- 自定义构建模型中关于forward函数的问题 HOT 1
- SSRegression在两方情况下,每一方有多个物理计算节点,如何提高运行速度 HOT 1
- 有关TEEU硬件支持的问题 HOT 1
- 关于TEEU仿真模式下安全聚合示例的疑问 HOT 1
- 关于向secretpad中集成自定义Component组件前测试的问题 HOT 2
- 关于使用联邦学习框架定义模型时加入批量归一化层(BN)层会报错 HOT 5
- Does secretflow support secret indexing now? HOT 4
- 关于单服务器PIR匿踪查询的疑问 HOT 2
- Why secret indexing doesn't work in this case? HOT 2
- 关于trustflow步骤四使用TrustedFlow复现breast cancer建模中第4步执行可信APP的疑问 HOT 2
- pad和kuscia按照官网教程新增一个组件出现问题 HOT 1
- 在 SecretFlow 中添加基于torch后端的fed_pac策略 HOT 3
- 1.5.0b0版本使用spu执行任务完成后,程序无法自动退出 HOT 2
- secretflow docker image在公司内部扫描显示docker file里有chinese characters HOT 6
- 关于使用Shamir秘密共享协议和定义SPU配置的问题 HOT 3
- 使用secretflow-allinone进行p2p模式部署发生问题 HOT 5
- secretflow 1.5.0b0容器包打包问题 HOT 17
- 关于使用TEEU进行安全聚合的bug HOT 2
- secretflow 1.5.X镜像打包bug HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from secretflow.