UNPKG

federer

Version:

Experiments in asynchronous federated learning and decentralized learning

18 lines 725 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.mnistRunName = void 0; const coordinator_1 = require("../../../coordinator"); /** * Generates a short name for MNIST coordinator options. * * @see {@link runName} */ function mnistRunName(options, cliOptions) { const base = coordinator_1.runName(options, cliOptions); const labels = `labels${options.numberLabelClasses}`; const batches = `batches${options.numberDigitBatchesPerClient}`; const unbalanced = `${options.shardingOptions.type}`; return `${options.dataset}-${options.model.name}-${base}-${labels}-${batches}-${unbalanced}`; } exports.mnistRunName = mnistRunName; //# sourceMappingURL=mnist-run-name.js.map