Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
1.3k views
in Technique[技术] by (71.8m points)

tensorflow - How to transfer data between clients using Tensorlow Federated

I'm planning to develop a decentralized federated learning simulation environment using Tensorflow Federated API, so nodes are able to coordinate themselves to obtain data without the interference of the server. Is there any function on tff API which manages data transfers between specific clients? I only see functions that move data from server to client (tff.federated_broadcast()) and client to server (tff.federated_collect()).

question from:https://stackoverflow.com/questions/65858776/how-to-transfer-data-between-clients-using-tensorlow-federated

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

There are several ways to interpret this question I think, but in all of them the answer is no. All client-to-client communication in TFF must currently be intermediated by the server.

A little more detail: TFF provides no intrinsics which model 'information exchange' between clients, though in principle such a thing can exist. That is, TFF is designed in such a way that this could be added. However, there are no plans to pursue this path in the immediate future.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...