ONE - On-device Neural Engine
Loading...
Searching...
No Matches
luci::GraphBuilderContext Class Reference

Class to store context to build loco graph IR from TensorFlow. More...

#include <GraphBuilderContext.h>

Public Member Functions

 GraphBuilderContext (loco::Graph *g, CircleReader *reader, IndexNodeFinder *nodefinder, IndexTensorOutputs *tensoroutputs)
 
 GraphBuilderContext (const GraphBuilderContext &)=delete
 
 GraphBuilderContext (GraphBuilderContext &&)=delete
 
loco::Graphgraph ()
 
CircleReaderreader ()
 
IndexNodeFindernodefinder ()
 
IndexTensorOutputstensoroutputs ()
 
bool ext_buffer () const
 
void ext_buffer (bool set)
 

Detailed Description

Class to store context to build loco graph IR from TensorFlow.

Definition at line 69 of file GraphBuilderContext.h.

Constructor & Destructor Documentation

◆ GraphBuilderContext() [1/3]

luci::GraphBuilderContext::GraphBuilderContext ( loco::Graph g,
CircleReader reader,
IndexNodeFinder nodefinder,
IndexTensorOutputs tensoroutputs 
)
inline

Definition at line 72 of file GraphBuilderContext.h.

74 : _g(g), _reader(reader), _indexnodefinder(nodefinder), _indextensoroutputs(tensoroutputs),
75 _ext_buffer(false)
76 {
77 // DO NOTHING
78 }
IndexNodeFinder * nodefinder()
IndexTensorOutputs * tensoroutputs()

◆ GraphBuilderContext() [2/3]

luci::GraphBuilderContext::GraphBuilderContext ( const GraphBuilderContext )
delete

◆ GraphBuilderContext() [3/3]

luci::GraphBuilderContext::GraphBuilderContext ( GraphBuilderContext &&  )
delete

Member Function Documentation

◆ ext_buffer() [1/2]

bool luci::GraphBuilderContext::ext_buffer ( ) const
inline

Definition at line 91 of file GraphBuilderContext.h.

91{ return _ext_buffer; }

Referenced by luci::CircleConstNodeBuilder::build().

◆ ext_buffer() [2/2]

void luci::GraphBuilderContext::ext_buffer ( bool  set)
inline

Definition at line 92 of file GraphBuilderContext.h.

92{ _ext_buffer = set; }
void set(Dialect d)
Definition Knob.cpp:100

◆ graph()

◆ nodefinder()

IndexNodeFinder * luci::GraphBuilderContext::nodefinder ( )
inline

Definition at line 87 of file GraphBuilderContext.h.

87{ return _indexnodefinder; }

Referenced by luci::GraphBuilder::build(), luci::GraphBuilderMultiOutput::build(), and luci::CircleWhileGraphBuilder::build().

◆ reader()

◆ tensoroutputs()

IndexTensorOutputs * luci::GraphBuilderContext::tensoroutputs ( )
inline

Definition at line 88 of file GraphBuilderContext.h.

88{ return _indextensoroutputs; }

Referenced by luci_interpreter::CircleReferencingConstNodeBuilder::build(), and luci::CircleConstNodeBuilder::build().


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