python – TypeError: expected at most 1 arguments, got 2……. data = collections.OrderedDict(‘data’, distributed_data[i])

I am getting the following error related to this function definition what is wrong? Convert_to_client_data() is a function in federated learning where I am trying to convert a dataset into the federated dataset. Here is the declaration of the class Distribute which is used in the function which gives the error #Declaration of Class Distribute … Read more