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

#include <Context.h>

Public Member Functions

 GraphBuilderContext (coco::Module *module, coco::Data *data, coco::Block *block, ShapeContext &shape_ctx, StoreContext &bag_ctx, WeightContext &weight_ctx)
 
 GraphBuilderContext (const GraphBuilderContext &)=delete
 
 GraphBuilderContext (GraphBuilderContext &&)=delete
 
coco::Modulemodule ()
 
coco::Datadata ()
 
coco::Blockblock ()
 
ShapeContextshape_ctx ()
 
StoreContextbag_ctx ()
 
WeightContextweight_ctx ()
 

Detailed Description

Definition at line 78 of file Context.h.

Constructor & Destructor Documentation

◆ GraphBuilderContext() [1/3]

caffeimport::GraphBuilderContext::GraphBuilderContext ( coco::Module module,
coco::Data data,
coco::Block block,
ShapeContext shape_ctx,
StoreContext bag_ctx,
WeightContext weight_ctx 
)
inlineexplicit

Definition at line 81 of file Context.h.

84 : _module(module), _data(data), _block(block), _shape_ctx(shape_ctx), _bag_ctx(bag_ctx),
85 _weight_ctx(weight_ctx)
86 {
87 // DO NOTHING
88 }
ShapeContext & shape_ctx()
Definition Context.h:97
WeightContext & weight_ctx()
Definition Context.h:99

◆ GraphBuilderContext() [2/3]

caffeimport::GraphBuilderContext::GraphBuilderContext ( const GraphBuilderContext )
delete

◆ GraphBuilderContext() [3/3]

caffeimport::GraphBuilderContext::GraphBuilderContext ( GraphBuilderContext &&  )
delete

Member Function Documentation

◆ bag_ctx()

◆ block()

◆ data()

coco::Data * caffeimport::GraphBuilderContext::data ( )
inline

◆ module()

coco::Module * caffeimport::GraphBuilderContext::module ( )
inline

Definition at line 94 of file Context.h.

94{ return _module; }

◆ shape_ctx()

◆ weight_ctx()

WeightContext & caffeimport::GraphBuilderContext::weight_ctx ( )
inline

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