federer
Version:
Experiments in asynchronous federated learning and decentralized learning
11 lines • 523 B
TypeScript
/// <reference types="node" />
import type * as io from "@tensorflow/tfjs-core/dist/io/io";
/** String that either represents a file path or the URL of a file. */
export declare type PathOrURL = string;
export declare const PathOrURL: {
readonly isPath: (pathOrURL: PathOrURL) => boolean;
readonly isURL: (pathOrURL: PathOrURL) => boolean;
readonly read: (pathOrURL: PathOrURL) => Promise<Buffer>;
readonly getTfIOHandler: (pathOrURL: PathOrURL) => io.IOHandler;
};
//# sourceMappingURL=path-or-url.d.ts.map