Skip to content

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

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

#pragma once

#include "openvino/core/node.hpp"
#include "openvino/op/op.hpp"
#include "ov_ops/fully_connected.hpp"

namespace ov {
namespace op {
namespace internal {

class TRANSFORMATIONS_API FullyConnectedQuantized : public FullyConnected {
public:
    OPENVINO_OP("FullyConnectedQuantized", "ie_internal_opset", FullyConnected);

    FullyConnectedQuantized() = default;

    FullyConnectedQuantized(const ov::Output<Node>& X,
                            const ov::Output<Node>& W,
                            const ov::Output<Node>& bias,
                            const ov::Output<Node>& weight_scales,
                            const ov::Output<Node>& weight_zero_points,
                            const ov::Output<Node>& input_scales,
                            const ov::Output<Node>& input_zero_points,
                            const ov::Output<Node>& output_scales,
                            const ov::Output<Node>& output_zero_points,
                            const ov::element::Type output_type = ov::element::dynamic);

    void validate_and_infer_types() override;

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

}  // namespace internal
}  // namespace op
}  // namespace ov