()
| 4102 | |
| 4103 | var RNN = function () { |
| 4104 | function RNN() { |
| 4105 | var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; |
| 4106 | |
| 4107 | _classCallCheck(this, RNN); |
| 4108 | |
| 4109 | var defaults = this.constructor.defaults; |
| 4110 | |
| 4111 | Object.assign(this, defaults, options); |
| 4112 | |
| 4113 | this.stepCache = {}; |
| 4114 | this.runs = 0; |
| 4115 | this.totalCost = null; |
| 4116 | this.ratioClipped = null; |
| 4117 | this.model = null; |
| 4118 | |
| 4119 | this.inputLookup = null; |
| 4120 | this.outputLookup = null; |
| 4121 | |
| 4122 | if (options.json) { |
| 4123 | this.fromJSON(options.json); |
| 4124 | } |
| 4125 | } |
| 4126 | |
| 4127 | _createClass(RNN, [{ |
| 4128 | key: 'initialize', |
nothing calls this directly
no test coverage detected