* Updated Inference Engine Plugin developer guide after inference using ngraph reference backend is added * Documentation fixes * Fixed review comments
26 lines
605 B
C++
26 lines
605 B
C++
// Copyright (C) 2018-2020 Intel Corporation
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
//
|
|
|
|
#pragma once
|
|
|
|
#include <ngraph/pass/pass.hpp>
|
|
|
|
namespace ngraph {
|
|
namespace pass {
|
|
|
|
class MyFunctionTransformation;
|
|
|
|
} // namespace pass
|
|
} // namespace ngraph
|
|
|
|
// ! [function_pass:template_transformation_hpp]
|
|
// template_function_transformation.hpp
|
|
class ngraph::pass::MyFunctionTransformation: public ngraph::pass::FunctionPass {
|
|
public:
|
|
MyFunctionTransformation() : FunctionPass() {}
|
|
|
|
bool run_on_function(std::shared_ptr<ngraph::Function> f) override;
|
|
};
|
|
// ! [function_pass:template_transformation_hpp]
|