federer
Version:
Experiments in asynchronous federated learning and decentralized learning
16 lines • 1.05 kB
TypeScript
import { Logger } from "winston";
import { CoordinatorServerOptions, ExperimentResults, GridSearch, IPCServer, StopCondition } from "../../../coordinator";
import { ClientTrainingOptions, FedAsyncStalenessOptions } from "../../../common/start-options";
import { LeafCoordinatorOptions } from "./LeafCoordinator";
declare type SpaceOf<Obj extends Record<keyof any, any>> = Obj extends any ? {
[Key in keyof Obj]: Array<Obj[Key]>;
} : never;
export declare type ServerSpace = SpaceOf<CoordinatorServerOptions>;
export declare type FedAsyncStalenessSpace = SpaceOf<FedAsyncStalenessOptions>;
export declare type ClientSpace = SpaceOf<ClientTrainingOptions>;
export declare type SearchSpace = SpaceOf<Required<LeafCoordinatorOptions>>;
export declare class LeafGridSearch extends GridSearch<LeafCoordinatorOptions> {
protected runExperiment(options: LeafCoordinatorOptions, ipc: IPCServer, logger: Logger, stopCondition: StopCondition): Promise<ExperimentResults<LeafCoordinatorOptions>>;
}
export {};
//# sourceMappingURL=grid-search.d.ts.map