"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.extractWeightsFactory = void 0; function extractWeightsFactory(weights) { let remainingWeights = weights; function extractWeights(numWeights) { const ret = remainingWeights.slice(0, numWeights); remainingWeights = remainingWeights.slice(numWeights); return ret; } function getRemainingWeights() { return remainingWeights; } return { extractWeights, getRemainingWeights }; } exports.extractWeightsFactory = extractWeightsFactory; //# sourceMappingURL=extractWeightsFactory.js.map