Documentation
Download Docs
Install OpenVINO™
core
include
ngraph
op
sink.hpp
1
// Copyright (C) 2018-2021 Intel Corporation
2
// SPDX-License-Identifier: Apache-2.0
3
//
4
5
#pragma once
6
7
#include <vector>
8
9
#include "ngraph/op/op.hpp"
10
11
namespace
ngraph
12
{
13
namespace
op
14
{
15
/// Root of nodes that can be sink nodes
16
class
NGRAPH_API
Sink
:
public
Op
17
{
18
public
:
19
virtual
~
Sink
() = 0;
20
NGRAPH_RTTI_DECLARATION;
21
22
protected
:
23
Sink
()
24
:
Op
()
25
{
26
}
27
28
explicit
Sink
(
const
OutputVector& arguments)
29
:
Op
(arguments)
30
{
31
}
32
};
33
}
// namespace op
34
using
SinkVector = std::vector<std::shared_ptr<op::Sink>>;
35
}
// namespace ngraph
ngraph::op::Op
Root of all actual ops.
Definition:
op.hpp:17
ngraph::op::Sink
Root of nodes that can be sink nodes.
Definition:
sink.hpp:17
ngraph
The Intel nGraph C++ API.
Definition:
attribute_adapter.hpp:16