HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
onnxruntime::GraphNodes Class Reference

#include <graph_nodes.h>

+ Inheritance diagram for onnxruntime::GraphNodes:

Public Member Functions

 GraphNodes (std::vector< std::unique_ptr< Node >> &nodes)
 
- Public Member Functions inherited from onnxruntime::ValidNodes< std::vector< std::unique_ptr< Node > > >
 ValidNodes (std::vector< std::unique_ptr< Node > > &nodes) noexcept
 
 ValidNodes (std::vector< std::unique_ptr< Node > > &nodes, NodeFilterFunc &&filter_node_fn) noexcept
 
ConstNodeIterator cbegin () const noexcept
 
ConstNodeIterator cend () const noexcept
 
ConstNodeIterator begin () const noexcept
 
std::enable_if<!std::is_const
< T2 >::value,
MutableNodeIterator >::type 
begin () noexcept
 
ConstNodeIterator end () const noexcept
 
std::enable_if<!std::is_const
< T2 >::value,
MutableNodeIterator >::type 
end () noexcept
 
ConstReverseNodeIterator rbegin () const noexcept
 
ConstReverseNodeIterator rend () const noexcept
 
bool empty () const noexcept
 

Additional Inherited Members

- Public Types inherited from onnxruntime::ValidNodes< std::vector< std::unique_ptr< Node > > >
using NodeFilterFunc = std::function< bool(NodeIndex)>
 
using ConstNodeIterator = NodeIterator< typename std::vector< std::unique_ptr< Node > >::const_iterator >
 
using MutableNodeIterator = NodeIterator< typename std::vector< std::unique_ptr< Node > >::iterator >
 
using ConstReverseNodeIterator = NodeIterator< typename std::vector< std::unique_ptr< Node > >::const_reverse_iterator >
 

Detailed Description

Class that provides iteration over all valid nodes in the Graph.

Definition at line 164 of file graph_nodes.h.

Constructor & Destructor Documentation

onnxruntime::GraphNodes::GraphNodes ( std::vector< std::unique_ptr< Node >> &  nodes)
inline

Definition at line 166 of file graph_nodes.h.


The documentation for this class was generated from the following file: