HDK
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
function.h
Go to the documentation of this file.
1
// Copyright (c) Microsoft Corporation. All rights reserved.
2
// Licensed under the MIT License.
3
4
#pragma once
5
6
#include "
core/common/common.h
"
7
#include "
core/graph/indexed_sub_graph.h
"
8
9
namespace
onnxruntime {
10
class
Graph;
11
class
Node
;
12
}
// namespace onnxruntime
13
14
namespace
onnxruntime {
15
16
/**
17
@class Function
18
Class representing a Function.
19
*/
20
class
Function
{
21
public
:
22
virtual
~Function
() =
default
;
23
24
/** Gets the Graph instance for the Function body subgraph. */
25
virtual
const
onnxruntime::Graph
&
Body
()
const
= 0;
26
27
/** Gets the Mutable Graph instance for the Function body subgraph. */
28
virtual
onnxruntime::Graph
&
MutableBody
() = 0;
29
};
30
31
}
// namespace onnxruntime
Node
Definition:
Node.h:52
common.h
indexed_sub_graph.h
onnxruntime::Graph
Definition:
graph.h:671
onnxruntime::Function
Definition:
function.h:20
onnxruntime::Function::MutableBody
virtual onnxruntime::Graph & MutableBody()=0
onnxruntime::Function::Body
virtual const onnxruntime::Graph & Body() const =0
onnxruntime::Function::~Function
virtual ~Function()=default
onnxruntime
core
graph
function.h
Generated on Tue Dec 17 2024 03:40:02 for HDK by
1.8.6