Welcome toVigges Developer Community-Open, Learning,Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
1.0k 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 Answer

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.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to Vigges Developer Community for programmer and developer-Open, Learning and Share
...