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