Skip to content

OpenVINO™ is an open source toolkit for optimizing and deploying AI inference

1.0 KB
Raw Blame
// Copyright (C) 2018-2026 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
//

#pragma once

#include <memory>

#include "openvino/core/attribute_visitor.hpp"
#include "openvino/core/node.hpp"
#include "openvino/core/node_vector.hpp"
#include "openvino/op/op.hpp"
#include "ov_ops/gather_matmul.hpp"

namespace ov::op::internal {

class TRANSFORMATIONS_API GatherMatmulCompressed : public GatherMatmul {
public:
    OPENVINO_OP("GatherMatmulCompressed", "", GatherMatmul);

    GatherMatmulCompressed() = default;

    GatherMatmulCompressed(const ov::Output<Node>& A,
                           const ov::Output<Node>& B,
                           const ov::Output<Node>& indices,
                           const ov::Output<Node>& bias,
                           const ov::Output<Node>& weight_scales,
                           const ov::Output<Node>& weight_zero_points);

    std::shared_ptr<Node> clone_with_new_inputs(const ov::OutputVector& new_args) const override;

    void validate_and_infer_types() override;
};

}  // namespace ov::op::internal