UNPKG

recurrent-js-gpu

Version:

GPU-accelerated Deep Recurrent Neural Networks and LSTMs in Typescript. Ported, object-oriented and refactored version of Andrej Karpathy's recurrent-js (https://github.com/karpathy/recurrentjs)

15 lines 440 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); class Assertable { static assert(condition, message = '') { if (!condition) { message = message || "Assertion failed"; if (typeof Error !== "undefined") { throw new Error(message); } throw message; } } } exports.Assertable = Assertable; //# sourceMappingURL=Assertable.js.map