ClientManager

View Source On Gitee

import com.mindspore.flclient.model.ClientManager

ClientManager defines end-side federated learning custom algorithm model management objects.

Public Member Functions

function

static void registerClient(Client client)

static Client getClient(String name)

registerClient

public static void registerClient(Client client)

Register client object.

  • Parameters

    • client: Need register client object.

getClient

public static Client getClient(String name)

Get client object.

  • Parameters

    • name: Client object name.

  • Returns

    Client object.