We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 766dc4f commit 8bfa207Copy full SHA for 8bfa207
1 file changed
tests/test_core/test_server/test_handler.py
@@ -44,7 +44,7 @@ def test_update_model(self):
44
coming_parameters = SerializationTool.serialize_model(coming_model)
45
46
self.AsyncHandler._update_global_model(payload=[coming_parameters,
47
- random.randint(1, 10)])
+ torch.Tensor([random.randint(1, 10)])])
48
49
parameter_list = []
50
for id in range(self.SyncHandler.client_num_per_round):
0 commit comments