ONE - On-device Neural Engine
Loading...
Searching...
No Matches
Graph.h File Reference
#include "loco/IR/DataType.h"
#include "loco/IR/Nodes.h"
#include "loco/IR/NodePool.h"
#include "loco/IR/GraphInputIndex.h"
#include "loco/IR/GraphOutputIndex.h"
#include "loco/ADT/ObjectPool.h"
#include <initializer_list>
#include <set>
#include <string>
#include <memory>
#include <vector>

Go to the source code of this file.

Data Structures

class  loco::Mixin< Trait::DataTyped >
 
class  loco::Mixin< Trait::TensorShaped >
 
class  loco::NamedEntity
 Trait for elements with name. More...
 
class  loco::GraphInput
 Graph-level Input Metadata. More...
 
class  loco::GraphOutput
 Graph-level Output Metadata. More...
 
class  loco::Graph
 A neural network graph. More...
 
struct  loco::Graph::SimpleFactoryObjectPool< T >
 Object Pool with Simple Factory Method. More...
 
struct  loco::Graph::InputContext
 GraphInput Pool. More...
 
struct  loco::Graph::OutputContext
 GraphOutput Pool. More...
 
struct  loco::GraphInputIndexQueryService
 
struct  loco::GraphOutputIndexQueryService
 

Namespaces

namespace  loco
 

Macros

#define LOCO_NAMED_ENTITY_EXPOSE   using NamedEntity::name
 

Enumerations

enum class  loco::Trait { loco::DataTyped , loco::TensorShaped }
 

Functions

std::vector< Node * > loco::input_nodes (const Graph *)
 
std::vector< Node * > loco::output_nodes (Graph *)
 
std::set< Node * > loco::all_nodes (Graph *)
 Enumerate all the nodes in a given graph.
 
std::unique_ptr< Graphloco::make_graph (void)
 

Macro Definition Documentation

◆ LOCO_NAMED_ENTITY_EXPOSE

#define LOCO_NAMED_ENTITY_EXPOSE   using NamedEntity::name

If new interface methods are added to this class they also will need to be added in using of this macro to get them visible from inherited classes

Definition at line 95 of file Graph.h.