1 // Copyright (C) 2020 Intel Corporation
2 // SPDX-License-Identifier: Apache-2.0
8 #include <ngraph/ngraph.hpp>
9 #include "ngraph_functions/low_precision_transformations/common/dequantization_operations.hpp"
15 class InterpolateFunction {
17 static std::shared_ptr<ngraph::Function> getOriginal(
18 const ngraph::Shape& inputShape,
19 const ngraph::Shape& outputShape,
20 const ngraph::op::InterpolateAttrs& interpAttrs,
21 const ngraph::element::Type precisionBeforeDequantization,
22 const ngraph::builder::subgraph::DequantizationOperations& dequantization);
24 static std::shared_ptr<ngraph::Function> getOriginal(
25 const ngraph::element::Type precision,
26 const ngraph::Shape& inputShape,
27 const ngraph::Shape& outputShape,
28 const ngraph::op::InterpolateAttrs& interpAttrs);
30 static std::shared_ptr<ngraph::Function> getReference(
31 const ngraph::Shape& inputShape,
32 const ngraph::Shape& outputShape,
33 const ngraph::op::InterpolateAttrs& interpAttrs,
34 const ngraph::element::Type precisionBeforeDequantization,
35 const ngraph::builder::subgraph::DequantizationOperations& dequantizationBefore,
36 const ngraph::element::Type precisionAfterOperation,
37 const ngraph::builder::subgraph::DequantizationOperations& dequantizationAfter);
40 } // namespace subgraph
41 } // namespace builder