#include <graph_transformer.h>
The interface for in-place transformation of a Graph.
Definition at line 20 of file graph_transformer.h.
virtual onnxruntime::GraphTransformer::~GraphTransformer |
( |
| ) |
|
|
virtualdefault |
Status onnxruntime::GraphTransformer::Apply |
( |
Graph & |
graph, |
|
|
bool & |
modified, |
|
|
const logging::Logger & |
logger |
|
) |
| const |
Apply the in-place transformation defined by this transformer to the provided Graph instance.
- Parameters
-
[out] | modified | Set to true if the Graph was modified. |
- Returns
- Status with success or error information.
const std::string& onnxruntime::GraphTransformer::Name |
( |
| ) |
const |
|
inlinenoexcept |
Status onnxruntime::GraphTransformer::Recurse |
( |
Node & |
node, |
|
|
bool & |
modified, |
|
|
int |
graph_level, |
|
|
const logging::Logger & |
logger |
|
) |
| const |
|
inlineprotected |
virtual bool onnxruntime::GraphTransformer::ShouldOnlyApplyOnce |
( |
| ) |
const |
|
inlinevirtual |
The documentation for this class was generated from the following file: