layerganza
Version:
A feed-forward neural network with injectable layers, activation functions, and optimizers.
13 lines (12 loc) • 349 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
class InputLayer {
constructor(nodeCount) {
this.nodeCount = nodeCount;
this.outputs = new Float64Array(nodeCount); //@TODO new array not really used?
}
feedForward(inputs) {
this.outputs = inputs;
}
}
exports.default = InputLayer;