UI.prototype._runNetwork = function()

in web/src/ui.js [113:126]


    UI.prototype._runNetwork = function() {
        if (!this._evaluator) {
            this._evaluator = new Evaluator();
            this._evaluator.onResult = this._gotResult.bind(this);
        }
        var joined = [];
        for (var i = 0; i < this._cells.length; ++i) {
            var data = this._cells[i].tensor(IMAGE_SIZE).data;
            for (var j = 0; j < data.length; ++j) {
                joined.push(data[j]);
            }
        }
        this._evaluator.evaluate({data: joined, classes: NUM_CLASSES});
    };