CLASS
Contents
- Methods
init(url:authToken:)newJob(modelName:version:)
public class SyftClient: SyftClientProtocolSyft client for model-centric federated learning
convenience public init?(url: URL, authToken: String? = nil)Initializes as SyftClient with a PyGrid server URL and an authentication token (if needed)
- Parameters:
- url: Full URL to a PyGrid server (
ws(websocket) andhttpprotocols suppported) - authToken: PyGrid authentication token
- url: Full URL to a PyGrid server (
| Name | Description |
|---|---|
| url | Full URL to a PyGrid server (ws(websocket) and http protocols suppported) |
| authToken | PyGrid authentication token |
public func newJob(modelName: String, version: String) -> SyftJobCreates a new federated learning cycle job with the given options
- Parameters:
- modelName: Model name as it is stored in the PyGrid server you are connecting to
- version: Version of the model (ex. 1.0)
- Returns:
SyftJob
| Name | Description |
|---|---|
| modelName | Model name as it is stored in the PyGrid server you are connecting to |
| version | Version of the model (ex. 1.0) |