"use strict";
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
Object.defineProperty(exports, "__esModule", { value: true });
exports.WebGLSqueeze = void 0;
const squeeze_1 = require("../../../ops/squeeze");
const util_1 = require("../../../util");
const reshape_1 = require("./reshape");
class WebGLSqueeze extends squeeze_1.Squeeze {
    run(inferenceHandler, inputs) {
        const outputDims = util_1.ShapeUtil.squeezeShape(inputs[0].dims, this.axes);
        return [reshape_1.reshape(inferenceHandler, inputs[0], outputDims)];
    }
}
exports.WebGLSqueeze = WebGLSqueeze;
//# sourceMappingURL=squeeze.js.map